diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 7 | ||||
-rw-r--r-- | shell/e-shell-window.c | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 2ce5885ce1..7cdd6c05ab 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,10 @@ +2008-01-21 Matthew Barnes <mbarnes@redhat.com> + + * e-shell-window.c (setup_status_bar): + Make the status bar height as large as the task bar to eliminate + "bouncing" when navigating the main menu. Patch by Jean-Christophe + Begue (#509509). + 2008-01-19 Srinivasa Ragavan <sragavan@novell.com> * e-shell.c: (set_line_status): Fix a regression due to my previous diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c index ae2c26912f..788aaf2004 100644 --- a/shell/e-shell-window.c +++ b/shell/e-shell-window.c @@ -45,6 +45,7 @@ #include <gtk/gtknotebook.h> #include <gtk/gtktooltips.h> #include <gtk/gtkvbox.h> +#include <gtk/gtkiconfactory.h> #include <bonobo/bonobo-exception.h> #include <bonobo/bonobo-object.h> @@ -606,10 +607,16 @@ setup_status_bar (EShellWindow *window) EShellWindowPrivate *priv; BonoboUIEngine *ui_engine; GConfClient *gconf_client; + gint height; priv = window->priv; priv->status_bar = gtk_hbox_new (FALSE, 2); + + /* Make the status bar as large as the task bar. */ + gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, NULL, &height); + gtk_widget_set_size_request (GTK_WIDGET (priv->status_bar), -1, height * 2); + gconf_client = gconf_client_get_default (); if(gconf_client_get_bool (gconf_client,"/apps/evolution/shell/view_defaults/statusbar_visible",NULL)) gtk_widget_show (priv->status_bar); |