[gimp/gtk3-port: 213/226] app: themes.c: add #if 0-ed switch to dark	theme variant
- From: Michael Natterer <mitch src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gimp/gtk3-port: 213/226] app: themes.c: add #if 0-ed switch to dark	theme variant
 
- Date: Wed, 22 Oct 2014 23:21:43 +0000 (UTC)
 
commit eeb829fb02cf9c12e90e70584f21455920438d2f
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 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/app/gui/themes.c b/app/gui/themes.c
index c799dc9..eea51aa 100644
--- a/app/gui/themes.c
+++ b/app/gui/themes.c
@@ -127,6 +127,12 @@ themes_init (Gimp *gimp)
       g_list_free_full (path, (GDestroyNotify) g_object_unref);
     }
 
+#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]