aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-gray-bar.c5
-rw-r--r--shell/e-shell.c6
3 files changed, 13 insertions, 3 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 69ad01cb91..d7486cd9ca 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-01 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-gray-bar.c (endarken_style): Set the color for
+ GTK_STATE_INSENSITIVE too so it doesn't look ugly when we quit.
+
2002-07-31 Ettore Perazzoli <ettore@ximian.com>
* e-shortcuts-view.c (create_default_shortcuts_cb): New, implement
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);
}
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 97e32cb29b..327241b1bc 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -948,9 +948,9 @@ view_destroy_cb (GtkObject *object,
num_views = g_list_length (shell->priv->views);
- /* If this is our last view, save settings now because in the
- callback for no_views_left shell->priv->views will be NULL
- and settings won't be saved because of that */
+ /* If this is our last view, save settings now because in the callback
+ for no_views_left shell->priv->views will be NULL and settings won't
+ be saved because of that. */
if (num_views - 1 == 0)
e_shell_save_settings (shell);