[evolution-patches] Fix for 48868
- From: William Jon McCann <mccannwj pha jhu edu>
- To: Evolution Patches <evolution-patches lists ximian com>
- Subject: [evolution-patches] Fix for 48868
- Date: Sat, 12 Feb 2005 03:03:22 -0500
Hi,
Here is a simple fix for http://bugzilla.ximian.com/show_bug.cgi?id=48868.
Ok to commit?
Jon
Index: shell/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/shell/ChangeLog,v
retrieving revision 1.1495
diff -p -u -r1.1495 ChangeLog
--- shell/ChangeLog 8 Feb 2005 00:38:09 -0000 1.1495
+++ shell/ChangeLog 12 Feb 2005 07:57:55 -0000
@@ -1,3 +1,8 @@
+2005-02-12 William Jon McCann <mccann jhu edu>
+
+ * e-shell-window.c (setup_offline_toggle): Make offline button scale
+ with font size. Fixes #48868.
+
2005-02-07 JP Rosevear <jpr novell com>
* apps_evolution_shell.schemas.in.in: clean up descriptions
Index: shell/e-shell-window.c
===================================================================
RCS file: /cvs/gnome/evolution/shell/e-shell-window.c,v
retrieving revision 1.30
diff -p -u -r1.30 e-shell-window.c
--- shell/e-shell-window.c 4 Jan 2005 19:58:45 -0000 1.30
+++ shell/e-shell-window.c 12 Feb 2005 07:57:56 -0000
@@ -491,7 +491,7 @@ setup_offline_toggle (EShellWindow *wind
priv = window->priv;
- toggle = gtk_button_new ();
+ toggle = gtk_button_new_with_label ("");
GTK_WIDGET_UNSET_FLAGS (toggle, GTK_CAN_FOCUS);
gtk_button_set_relief (GTK_BUTTON (toggle), GTK_RELIEF_NONE);
@@ -500,7 +500,7 @@ setup_offline_toggle (EShellWindow *wind
image = gtk_image_new_from_pixmap (offline_pixmap, offline_mask);
- gtk_container_add (GTK_CONTAINER (toggle), image);
+ gtk_button_set_image (GTK_BUTTON (toggle), image);
gtk_widget_show (toggle);
gtk_widget_show (image);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]