aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-05-18 01:10:39 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-05-18 01:10:39 +0800
commita6d439b765bfc2d6b27ccbf03697b47efb2dcb9f (patch)
treee08627808d0a75a783858806e758758bda0d0dd8
parentc6edbf228c5ffd80c4d884a96d3f1564d17ec686 (diff)
downloadgsoc2013-evolution-a6d439b765bfc2d6b27ccbf03697b47efb2dcb9f.tar.gz
gsoc2013-evolution-a6d439b765bfc2d6b27ccbf03697b47efb2dcb9f.tar.zst
gsoc2013-evolution-a6d439b765bfc2d6b27ccbf03697b47efb2dcb9f.zip
Use E_ICON_SIZE_BUTTON for the icon size in the e_icon_factory_get_icon()
2004-05-17 Jeffrey Stedfast <fejj@novell.com> * e-url-entry.c (init): Use E_ICON_SIZE_BUTTON for the icon size in the e_icon_factory_get_icon() call. * e-combo-button.c (create_empty_image_widget): Don't hard-code the size of the icon in pixels, instead use the appropriate E_ICON_SIZE_ enum. svn path=/trunk/; revision=25930
-rw-r--r--widgets/misc/ChangeLog9
-rw-r--r--widgets/misc/e-combo-button.c2
-rw-r--r--widgets/misc/e-url-entry.c2
3 files changed, 11 insertions, 2 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 374b31ecce..2fa8b0fbc8 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,12 @@
+2004-05-17 Jeffrey Stedfast <fejj@novell.com>
+
+ * e-url-entry.c (init): Use E_ICON_SIZE_BUTTON for the icon size
+ in the e_icon_factory_get_icon() call.
+
+ * e-combo-button.c (create_empty_image_widget): Don't hard-code
+ the size of the icon in pixels, instead use the appropriate
+ E_ICON_SIZE_ enum.
+
2004-05-17 JP Rosevear <jpr@novell.com>
Fixes #58460
diff --git a/widgets/misc/e-combo-button.c b/widgets/misc/e-combo-button.c
index 5dafec034e..e336e88906 100644
--- a/widgets/misc/e-combo-button.c
+++ b/widgets/misc/e-combo-button.c
@@ -73,7 +73,7 @@ create_empty_image_widget (void)
GtkWidget *image_widget;
GdkPixbuf *pixbuf;
- pixbuf = e_icon_factory_get_icon (NULL, 16);
+ pixbuf = e_icon_factory_get_icon (NULL, E_ICON_SIZE_MENU);
image_widget = gtk_image_new_from_pixbuf (pixbuf);
diff --git a/widgets/misc/e-url-entry.c b/widgets/misc/e-url-entry.c
index dad935b1da..e2f15802f9 100644
--- a/widgets/misc/e-url-entry.c
+++ b/widgets/misc/e-url-entry.c
@@ -104,7 +104,7 @@ init (EUrlEntry *url_entry)
priv->button = gtk_button_new ();
gtk_widget_set_sensitive (priv->button, FALSE);
gtk_box_pack_start (GTK_BOX (url_entry), priv->button, FALSE, FALSE, 0);
- pixbuf = e_icon_factory_get_icon ("stock_connect-to-url", 16);
+ pixbuf = e_icon_factory_get_icon ("stock_connect-to-url", E_ICON_SIZE_BUTTON);
pixmap = gtk_image_new_from_pixbuf (pixbuf);
g_object_unref (pixbuf);
gtk_container_add (GTK_CONTAINER (priv->button), pixmap);