aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-gray-bar.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-08-02 05:33:56 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-08-02 05:33:56 +0800
commitb903f35585036292de992b544b91c14033dd8651 (patch)
tree54dd304914a54ed5a02a2662b941cd99c7861fce /shell/e-gray-bar.c
parent73cf3167b6e5f5ed583ff94795734728ef69e146 (diff)
downloadgsoc2013-evolution-b903f35585036292de992b544b91c14033dd8651.tar
gsoc2013-evolution-b903f35585036292de992b544b91c14033dd8651.tar.gz
gsoc2013-evolution-b903f35585036292de992b544b91c14033dd8651.tar.bz2
gsoc2013-evolution-b903f35585036292de992b544b91c14033dd8651.tar.lz
gsoc2013-evolution-b903f35585036292de992b544b91c14033dd8651.tar.xz
gsoc2013-evolution-b903f35585036292de992b544b91c14033dd8651.tar.zst
gsoc2013-evolution-b903f35585036292de992b544b91c14033dd8651.zip
(endarken_style): Set the color for
GTK_STATE_INSENSITIVE too so it doesn't look ugly when we quit. svn path=/trunk/; revision=17679
Diffstat (limited to 'shell/e-gray-bar.c')
-rw-r--r--shell/e-gray-bar.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/e-gray-bar.c b/shell/e-gray-bar.c
index 44d64f16ff..2060af2229 100644
--- a/shell/e-gray-bar.c
+++ b/shell/e-gray-bar.c
@@ -47,6 +47,11 @@ endarken_style (GtkWidget *widget)
rc_style->bg[GTK_STATE_NORMAL].green = 0x8000;
rc_style->bg[GTK_STATE_NORMAL].blue = 0x8000;
+ rc_style->color_flags[GTK_STATE_INSENSITIVE] |= GTK_RC_BG;
+ rc_style->bg[GTK_STATE_INSENSITIVE].red = 0x8000;
+ rc_style->bg[GTK_STATE_INSENSITIVE].green = 0x8000;
+ rc_style->bg[GTK_STATE_INSENSITIVE].blue = 0x8000;
+
gtk_widget_modify_style (widget, rc_style);
gtk_rc_style_unref (rc_style);
}