From 806686a1635bcd72c6e509a85ce8af9246ea551c Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Sun, 3 Jun 2012 13:07:09 +0200 Subject: Name actions after the shortcut nick instead of its label --- src/app-section.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app-section.c b/src/app-section.c index f23f412..340bbd7 100644 --- a/src/app-section.c +++ b/src/app-section.c @@ -243,11 +243,11 @@ app_section_set_app_info (AppSection *self, name = indicator_desktop_shortcuts_nick_get_name(priv->ids, nicks[i]); - action = g_simple_action_new (name, NULL); + action = g_simple_action_new (nicks[i], NULL); g_signal_connect(action, "activate", G_CALLBACK (nick_activate_cb), self); g_simple_action_group_insert (priv->static_shortcuts, G_ACTION (action)); - item = g_menu_item_new (name, name); + item = g_menu_item_new (name, nicks[i]); g_menu_append_item (priv->menu, item); g_object_unref (item); -- cgit v1.2.3