aboutsummaryrefslogtreecommitdiff
path: root/src/im-desktop-menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/im-desktop-menu.c')
-rw-r--r--src/im-desktop-menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/im-desktop-menu.c b/src/im-desktop-menu.c
index 9dcd6c1..7a9b9bf 100644
--- a/src/im-desktop-menu.c
+++ b/src/im-desktop-menu.c
@@ -113,7 +113,7 @@ im_desktop_menu_source_added (ImApplicationList *applist,
action = g_strconcat ("src.", source_id, NULL);
item = g_menu_item_new (label, NULL);
g_menu_item_set_attribute (item, "x-canonical-type", "s", "com.canonical.indicator.messages.source");
- if (icon)
+ if (icon && *icon)
g_menu_item_set_attribute (item, "icon", "s", icon);
g_menu_append_item (source_section, item);