From acf1752ffbac11c5b0422adc7cc693cc78bac6b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Fri, 28 Feb 2014 07:17:20 +0100 Subject: ImageHelper: set image from icon name if we have the filename --- libindicator/indicator-image-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libindicator/indicator-image-helper.c b/libindicator/indicator-image-helper.c index 684fe8a..a38015c 100644 --- a/libindicator/indicator-image-helper.c +++ b/libindicator/indicator-image-helper.c @@ -72,7 +72,7 @@ refresh_image (GtkImage * image) if (icon_info != NULL) { gtk_image_set_from_gicon (image, icon_names, GTK_ICON_SIZE_LARGE_TOOLBAR); } else if (icon_filename != NULL) { - gtk_image_set_from_file (image, icon_filename); + gtk_image_set_from_icon_name (image, icon_filename, GTK_ICON_SIZE_LARGE_TOOLBAR); } else { /* Build a pixbuf if needed */ GdkPixbuf * pixbuf = NULL; -- cgit v1.2.3