mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 06:10:15 +00:00
inspector: Add missing directory when scanning for themes
This commit is contained in:
parent
298974b9da
commit
727bdd1929
@ -219,6 +219,10 @@ init_theme (GtkInspectorVisual *vis)
|
|||||||
fill_gtk (path, t);
|
fill_gtk (path, t);
|
||||||
g_free (path);
|
g_free (path);
|
||||||
|
|
||||||
|
path = g_build_filename (g_get_home_dir (), "themes", NULL);
|
||||||
|
fill_gtk (path, t);
|
||||||
|
g_free (path);
|
||||||
|
|
||||||
settings = g_settings_new ("org.gnome.desktop.interface");
|
settings = g_settings_new ("org.gnome.desktop.interface");
|
||||||
current_theme = g_settings_get_string (settings, "gtk-theme");
|
current_theme = g_settings_get_string (settings, "gtk-theme");
|
||||||
g_object_unref (settings);
|
g_object_unref (settings);
|
||||||
|
Loading…
Reference in New Issue
Block a user