[gucharmap/gnome-3-14] charmap: Force non-dark theme



commit 8cfe7f9c0332728cd607fa90b81ea2c9eb5f7a06
Author: Christian Persch <chpe gnome org>
Date:   Fri Jan 23 20:54:15 2015 +0100

    charmap: Force non-dark theme
    
    Dark theme doesn't work, so until that's fixed, force the non-dark theme.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741939
    (cherry picked from commit cbcf1fe3f44aee4387fefa4b2cdea8d19e93aa51)

 gucharmap/main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gucharmap/main.c b/gucharmap/main.c
index 0725ee7..0dd1bc8 100644
--- a/gucharmap/main.c
+++ b/gucharmap/main.c
@@ -244,6 +244,9 @@ main (int argc, char **argv)
 
   g_application_register (G_APPLICATION (application), NULL, NULL);
 
+  /* Gucharmap doesn't work right with the dark theme, see #741939 */
+  g_object_set (gtk_settings_get_default (), "gtk-application-prefer-dark-theme", FALSE, NULL);
+
   window = gucharmap_window_new (application);
 
   screen = gtk_window_get_screen (GTK_WINDOW (window));


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