aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-03-08 17:05:30 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-03-08 17:05:30 +0100
commitfbc2137505920f441c822f226a4a1cec3d480431 (patch)
tree6e191eeca3d45e90857ef5dec6c221ba958f7537
parent1db6a885347c921a5c7ee58e9e673c9c7b1007cb (diff)
downloadayatana-indicator-messages-fbc2137505920f441c822f226a4a1cec3d480431.tar.gz
ayatana-indicator-messages-fbc2137505920f441c822f226a4a1cec3d480431.tar.bz2
ayatana-indicator-messages-fbc2137505920f441c822f226a4a1cec3d480431.zip
Add empty icon-name to app shortcuts to indent them correctly
-rw-r--r--src/messages-service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index a21435c..6e53d85 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -621,6 +621,7 @@ server_shortcut_added (AppMenuItem * appitem, DbusmenuMenuitem * mi, gpointer da
g_debug("Application Shortcut added: %s", mi != NULL ? dbusmenu_menuitem_property_get(mi, DBUSMENU_MENUITEM_PROP_LABEL) : "none");
DbusmenuMenuitem * shell = DBUSMENU_MENUITEM(data);
if (mi != NULL) {
+ dbusmenu_menuitem_property_set (mi, DBUSMENU_MENUITEM_PROP_ICON_NAME, "");
dbusmenu_menuitem_child_append(shell, mi);
}
resort_menu(shell);