diff options
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-shell-window.c | 11 |
2 files changed, 13 insertions, 3 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index ba2880aeca..35d58a721d 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2005-02-22 William Jon McCann <mccann@jhu.edu> + + * e-shell-window.c (setup_offline_toggle): Make offline button scale + with font size. Fixes #48868. + 2005-02-10 JP Rosevear <jpr@novell.com> * e-component-registry.c (query_components): unref the menu icon diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c index 6dfb20055c..7e143780dd 100644 --- a/shell/e-shell-window.c +++ b/shell/e-shell-window.c @@ -488,6 +488,8 @@ setup_offline_toggle (EShellWindow *window) EShellWindowPrivate *priv; GtkWidget *toggle; GtkWidget *image; + GtkWidget *label; + GtkWidget *hbox; priv = window->priv; @@ -497,13 +499,16 @@ setup_offline_toggle (EShellWindow *window) g_signal_connect (toggle, "clicked", G_CALLBACK (offline_toggle_clicked_callback), window); + hbox = gtk_hbox_new (FALSE, 0); + gtk_container_add (GTK_CONTAINER (toggle), hbox); image = gtk_image_new_from_pixmap (offline_pixmap, offline_mask); + gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 0); - gtk_container_add (GTK_CONTAINER (toggle), image); + label = gtk_label_new (""); + gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); - gtk_widget_show (toggle); - gtk_widget_show (image); + gtk_widget_show_all (toggle); priv->offline_toggle = toggle; priv->offline_toggle_image = image; |