[gnome-commander/gcmd-1-6] Respect selection background color when creating a list style, fixing bgo#638174
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-6] Respect selection background color when creating a list style, fixing bgo#638174
- Date: Sat, 8 Oct 2016 21:18:31 +0000 (UTC)
commit 10f8b27ba9ec5d7a8e1432b605bb4b54252283bd
Author: Uwe Scholz <uwescholz src gnome org>
Date: Sat Oct 8 22:43:44 2016 +0200
Respect selection background color when creating a list style, fixing bgo#638174
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 e01abd3..d7b77b5 100644
--- a/src/gnome-cmd-style.cc
+++ b/src/gnome-cmd-style.cc
@@ -122,8 +122,8 @@ inline GtkStyle *create_sel_list_style (GnomeCmdColorTheme *cols, const gchar *f
style->bg[GTK_STATE_SELECTED] = *cols->curs_bg;
style->bg[GTK_STATE_NORMAL] = *cols->sel_bg;
- style->base[GTK_STATE_NORMAL] = *cols->norm_bg;
- style->base[GTK_STATE_ACTIVE] = *cols->norm_bg;
+ style->base[GTK_STATE_NORMAL] = *cols->sel_bg;
+ style->base[GTK_STATE_ACTIVE] = *cols->sel_bg;
}
return style;
@@ -154,8 +154,8 @@ inline GtkStyle *create_alt_sel_list_style (GnomeCmdColorTheme *cols, const gcha
style->bg[GTK_STATE_SELECTED] = *cols->curs_bg;
style->bg[GTK_STATE_NORMAL] = *cols->sel_bg;
- style->base[GTK_STATE_NORMAL] = *cols->alt_bg;
- style->base[GTK_STATE_ACTIVE] = *cols->alt_bg;
+ style->base[GTK_STATE_NORMAL] = *cols->sel_bg;
+ style->base[GTK_STATE_ACTIVE] = *cols->sel_bg;
}
return style;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]