[gtk+/gtk-3-14] inspector: Add missing directory when scanning for themes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] inspector: Add missing directory when scanning for themes
- Date: Thu, 11 Dec 2014 14:00:29 +0000 (UTC)
commit 2f5adb1f76eb8b13a7f64548e6893c8be8c21a85
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]