diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-04-20 05:59:36 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-04-20 05:59:36 +0800 |
commit | f8909cb68587c7adf480b3b6c461f8a37d900946 (patch) | |
tree | b0c7536e944c690d1372e3397bb849eb57c2c182 | |
parent | 3e573ed0bdeb91e016b0bb2471a1582c57e424f1 (diff) | |
download | gsoc2013-evolution-f8909cb68587c7adf480b3b6c461f8a37d900946.tar.gz gsoc2013-evolution-f8909cb68587c7adf480b3b6c461f8a37d900946.tar.zst gsoc2013-evolution-f8909cb68587c7adf480b3b6c461f8a37d900946.zip |
Updated to sue E_ICON_SIZE enums.
2004-04-19 Jeffrey Stedfast <fejj@ximian.com>
* e-info-label.c (e_info_label_new): Updated to sue E_ICON_SIZE enums.
svn path=/trunk/; revision=25532
-rw-r--r-- | widgets/misc/ChangeLog | 4 | ||||
-rw-r--r-- | widgets/misc/e-info-label.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 21d0150b4a..53fd3deaf6 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,7 @@ +2004-04-19 Jeffrey Stedfast <fejj@ximian.com> + + * e-info-label.c (e_info_label_new): Updated to sue E_ICON_SIZE enums. + 2004-04-19 Rodney Dawes <dobey@ximian.com> * e-info-label.c (e_info_label_new): Update to use EIconFactory to diff --git a/widgets/misc/e-info-label.c b/widgets/misc/e-info-label.c index 8b3f006396..ab71594c0f 100644 --- a/widgets/misc/e-info-label.c +++ b/widgets/misc/e-info-label.c @@ -112,8 +112,8 @@ e_info_label_new(const char *icon) { EInfoLabel *el = g_object_new(e_info_label_get_type(), 0); GtkWidget *image; - char *name = e_icon_factory_get_icon_filename (icon, 16); - + char *name = e_icon_factory_get_icon_filename (icon, E_ICON_SIZE_MENU); + image = gtk_image_new_from_file(name); g_free(name); gtk_misc_set_padding((GtkMisc *)image, 6, 6); |