[gnome-commander/gcmd-1-6] Don't use alternate colors when respecting theme: looks better now



commit 3796482086eaaa3afca8a1c30faa7d77aecc7992
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sat Oct 22 10:41:09 2016 +0200

    Don't use alternate colors when respecting theme: looks better now

 src/gnome-cmd-style.cc |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gnome-cmd-style.cc b/src/gnome-cmd-style.cc
index 0890052..dca948f 100644
--- a/src/gnome-cmd-style.cc
+++ b/src/gnome-cmd-style.cc
@@ -118,11 +118,11 @@ inline GtkStyle *create_alt_list_style (GnomeCmdColorTheme *cols, const gchar *f
         if(default_style)
         {
             gtk_style_lookup_color (default_style, "tooltip_fg_color", &style->fg[GTK_STATE_SELECTED]);
-            gtk_style_lookup_color (default_style, "selected_bg_color", &style->fg[GTK_STATE_NORMAL]);
-            gtk_style_lookup_color (default_style, "selected_bg_color", &style->text[GTK_STATE_NORMAL]);
+            gtk_style_lookup_color (default_style, "fg_color", &style->fg[GTK_STATE_NORMAL]);
+            gtk_style_lookup_color (default_style, "fg_color", &style->text[GTK_STATE_NORMAL]);
             gtk_style_lookup_color (default_style, "tooltip_bg_color", &style->bg[GTK_STATE_SELECTED]);
-            gtk_style_lookup_color (default_style, "selected_fg_color", &style->base[GTK_STATE_NORMAL]);
-            gtk_style_lookup_color (default_style, "selected_fg_color", &style->base[GTK_STATE_ACTIVE]);
+            gtk_style_lookup_color (default_style, "bg_color", &style->base[GTK_STATE_NORMAL]);
+            gtk_style_lookup_color (default_style, "bg_color", &style->base[GTK_STATE_ACTIVE]);
         }
     }
 


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