Adding default icon theme for windows.
This commit is contained in:
parent
70783709fe
commit
3bff0e6bdb
@ -54,6 +54,10 @@ void activate (Adw.Application app) {
|
|||||||
var main_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);
|
var main_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);
|
||||||
var window_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);
|
var window_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);
|
||||||
var parties_container = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 2);
|
var parties_container = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 2);
|
||||||
|
if (S == "\\") {
|
||||||
|
var icon_theme = Gtk.IconTheme.get_for_display (app_window.get_display ());
|
||||||
|
icon_theme.add_search_path (@"share\\icons");
|
||||||
|
}
|
||||||
parties_container.margin_bottom = 50;
|
parties_container.margin_bottom = 50;
|
||||||
scrolled_window.vexpand = true;
|
scrolled_window.vexpand = true;
|
||||||
Sqlite.Database db = get_db ();
|
Sqlite.Database db = get_db ();
|
||||||
|
Loading…
Reference in New Issue
Block a user