[gtk+] inspector: Add missing directory when scanning for themes



commit 727bdd1929a55e6758f9ad97cd9ce3d96bd57c30
Author: Benjamin Otte <otte redhat com>
Date:   Tue Oct 21 20:30:07 2014 +0200

    inspector: Add missing directory when scanning for themes

 gtk/inspector/visual.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/inspector/visual.c b/gtk/inspector/visual.c
index acd3c8e..9e97501 100644
--- a/gtk/inspector/visual.c
+++ b/gtk/inspector/visual.c
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]