diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-gray-bar.c | 5 | ||||
-rw-r--r-- | shell/e-shell.c | 6 |
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); |