[gimp/gtk3-port: 219/227] app: themes.c: add #if 0-ed switch to dark theme variant



commit f9c0a55eb9b9267b88ac57e2d0fd6c69f77ac60d
Author: Michael Natterer <mitch gimp org>
Date:   Fri Dec 9 22:55:46 2011 +0100

    app: themes.c: add #if 0-ed switch to dark theme variant

 app/gui/themes.c | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/app/gui/themes.c b/app/gui/themes.c
index 82a7a05..043e40b 100644
--- a/app/gui/themes.c
+++ b/app/gui/themes.c
@@ -87,6 +87,12 @@ themes_init (Gimp *gimp)
       g_free (path);
     }
 
+#if 0
+  g_object_set (gtk_settings_get_for_screen (gdk_screen_get_default ()),
+                "gtk-application-prefer-dark-theme", TRUE,
+                NULL);
+#endif
+
   themes_style_provider = GTK_STYLE_PROVIDER (gtk_css_provider_new ());
 
   /*  Use GTK_STYLE_PROVIDER_PRIORITY_APPLICATION + 1 so theme files


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