diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-08-13 18:49:49 +0200 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-08-13 18:49:49 +0200 |
commit | 393294faaf9b8bd1780778e9355e502a52822843 (patch) | |
tree | b59443c94c0231e2d9b5e80046cafaf788a4db63 /src | |
parent | ed16f39ed4e571bb75005453b5af33ab737deb6c (diff) | |
download | ayatana-indicator-messages-393294faaf9b8bd1780778e9355e502a52822843.tar.gz ayatana-indicator-messages-393294faaf9b8bd1780778e9355e502a52822843.tar.bz2 ayatana-indicator-messages-393294faaf9b8bd1780778e9355e502a52822843.zip |
desktop menu: don't export an item if the name is ''
Diffstat (limited to 'src')
-rw-r--r-- | src/im-desktop-menu.c | 2 |
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); |