aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-info-label.c
diff options
context:
space:
mode:
authorRodney Dawes <dobey@ximian.com>2004-04-19 23:18:37 +0800
committerRodney Dawes <dobey@src.gnome.org>2004-04-19 23:18:37 +0800
commitf4b4be936edef388577024f565b2f1643d4bd2f9 (patch)
treeeb1dc967076e1a46b25fb1c84c596ef94e40fbc9 /widgets/misc/e-info-label.c
parent9b8a6860948ad7cd5d1c6a24360e4b59fc120fb2 (diff)
downloadgsoc2013-evolution-f4b4be936edef388577024f565b2f1643d4bd2f9.tar
gsoc2013-evolution-f4b4be936edef388577024f565b2f1643d4bd2f9.tar.gz
gsoc2013-evolution-f4b4be936edef388577024f565b2f1643d4bd2f9.tar.bz2
gsoc2013-evolution-f4b4be936edef388577024f565b2f1643d4bd2f9.tar.lz
gsoc2013-evolution-f4b4be936edef388577024f565b2f1643d4bd2f9.tar.xz
gsoc2013-evolution-f4b4be936edef388577024f565b2f1643d4bd2f9.tar.zst
gsoc2013-evolution-f4b4be936edef388577024f565b2f1643d4bd2f9.zip
Update to use EIconFactory to get the filename for the component icons
2004-04-19 Rodney Dawes <dobey@ximian.com> * e-info-label.c (e_info_label_new): Update to use EIconFactory to get the filename for the component icons using the icon theme 2004-04-19 Michael Terry <mike@mterry.name> * e-combo-buddon.c: * e-url-entry.c: Update these to use EIconFactory and GtkImages directly instead of GdkPixmaps svn path=/trunk/; revision=25513
Diffstat (limited to 'widgets/misc/e-info-label.c')
-rw-r--r--widgets/misc/e-info-label.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/widgets/misc/e-info-label.c b/widgets/misc/e-info-label.c
index fffc24c83d..8b3f006396 100644
--- a/widgets/misc/e-info-label.c
+++ b/widgets/misc/e-info-label.c
@@ -112,9 +112,8 @@ e_info_label_new(const char *icon)
{
EInfoLabel *el = g_object_new(e_info_label_get_type(), 0);
GtkWidget *image;
- char *name = g_strdup_printf(MAP_DIR "/%s", icon);
+ char *name = e_icon_factory_get_icon_filename (icon, 16);
- /* FIXME: the image stuff should use the icon theme stuff when its committed */
image = gtk_image_new_from_file(name);
g_free(name);
gtk_misc_set_padding((GtkMisc *)image, 6, 6);