diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2004-05-18 01:10:39 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-05-18 01:10:39 +0800 |
commit | a6d439b765bfc2d6b27ccbf03697b47efb2dcb9f (patch) | |
tree | e08627808d0a75a783858806e758758bda0d0dd8 /widgets/misc/e-url-entry.c | |
parent | c6edbf228c5ffd80c4d884a96d3f1564d17ec686 (diff) | |
download | gsoc2013-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
Diffstat (limited to 'widgets/misc/e-url-entry.c')
-rw-r--r-- | widgets/misc/e-url-entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |