Skip to content

Commit

Permalink
Set elementary theme and icon theme
Browse files Browse the repository at this point in the history
  • Loading branch information
albfan committed Mar 5, 2019
1 parent 0ba143e commit 4c5d6f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Application.vala
Expand Up @@ -58,10 +58,13 @@ public class Akira.Application : Granite.Application {
}

protected override void activate () {
Gtk.Settings.get_default().set_property("gtk-icon-theme-name", "elementary");
Gtk.Settings.get_default().set_property("gtk-theme-name", "elementary");

weak Gtk.IconTheme default_theme = Gtk.IconTheme.get_default ();
default_theme.add_resource_path ("/com/github/akiraux/akira");

var window = new Akira.Window (this);
this.add_window (window);
}
}
}

0 comments on commit 4c5d6f1

Please sign in to comment.