aboutsummaryrefslogtreecommitdiff
path: root/src/app-section.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app-section.c')
-rw-r--r--src/app-section.c4
1 files 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);