aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2014-02-28 07:17:20 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2014-02-28 07:17:20 +0100
commitacf1752ffbac11c5b0422adc7cc693cc78bac6b9 (patch)
tree88b021338261dd1d40c0f81b1f8d3bc796fd17e6 /libindicator
parent12db08f2c3bc6bdd0f2265a71a8f8033b3274f2c (diff)
downloadlibayatana-indicator-acf1752ffbac11c5b0422adc7cc693cc78bac6b9.tar.gz
libayatana-indicator-acf1752ffbac11c5b0422adc7cc693cc78bac6b9.tar.bz2
libayatana-indicator-acf1752ffbac11c5b0422adc7cc693cc78bac6b9.zip
ImageHelper: set image from icon name if we have the filename
Diffstat (limited to 'libindicator')
-rw-r--r--libindicator/indicator-image-helper.c2
1 files changed, 1 insertions, 1 deletions
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;