inspector: Add missing directory when scanning for themes

This commit is contained in:
Benjamin Otte 2014-10-21 20:30:07 +02:00
parent 298974b9da
commit 727bdd1929

View File

@ -219,6 +219,10 @@ init_theme (GtkInspectorVisual *vis)
fill_gtk (path, t);
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");
current_theme = g_settings_get_string (settings, "gtk-theme");
g_object_unref (settings);