diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2012-08-27 18:56:18 +0200 |
---|---|---|
committer | Sebastien Bacher <seb128@ubuntu.com> | 2012-08-27 18:56:18 +0200 |
commit | b51f9f1654a241419123b47ed673634f39a7a372 (patch) | |
tree | f79f8dc5ab5f3e268e64f33c965ae192c0b638de /src/app-section.c | |
parent | 5f974f7290cb505a341c579a3fdd8efc601477fe (diff) | |
parent | d28296b69565793050e51717a89c84eeadd88dbc (diff) | |
download | ayatana-indicator-messages-b51f9f1654a241419123b47ed673634f39a7a372.tar.gz ayatana-indicator-messages-b51f9f1654a241419123b47ed673634f39a7a372.tar.bz2 ayatana-indicator-messages-b51f9f1654a241419123b47ed673634f39a7a372.zip |
update to 12.10.1
Diffstat (limited to 'src/app-section.c')
-rw-r--r-- | src/app-section.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/app-section.c b/src/app-section.c index baae21f..bed1302 100644 --- a/src/app-section.c +++ b/src/app-section.c @@ -346,6 +346,7 @@ app_section_set_app_info (AppSection *self, for (i = 0; nicks[i] != NULL; i++) { gchar *name; GSimpleAction *action; + GMenuItem *item; name = indicator_desktop_shortcuts_nick_get_name(priv->ids, nicks[i]); @@ -354,8 +355,12 @@ app_section_set_app_info (AppSection *self, g_simple_action_group_insert (priv->static_shortcuts, G_ACTION (action)); g_object_unref (action); - g_menu_append (priv->menu, name, nicks[i]); + item = g_menu_item_new (name, nicks[i]); + g_menu_item_set_attribute (item, "x-canonical-type", "s", "IdoMenuItem"); + g_menu_item_set_attribute (item, "x-canonical-icon", "s", ""); /* empty to get indentation */ + g_menu_append_item (priv->menu, item); + g_object_unref (item); g_free(name); } |