From b903f35585036292de992b544b91c14033dd8651 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 1 Aug 2002 21:33:56 +0000 Subject: (endarken_style): Set the color for GTK_STATE_INSENSITIVE too so it doesn't look ugly when we quit. svn path=/trunk/; revision=17679 --- shell/e-gray-bar.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'shell/e-gray-bar.c') 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); } -- cgit v1.2.3