From 08739c5fe918d9aef5b3f2f8b0e86a2fbed08a7f Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 16 Aug 2013 14:01:36 -0500 Subject: Dropping indicator prefixes as they're set up with the base namespace of the section --- src/im-application-list.c | 2 +- src/im-phone-menu.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/im-application-list.c b/src/im-application-list.c index 7d75c84..5a56df3 100644 --- a/src/im-application-list.c +++ b/src/im-application-list.c @@ -834,7 +834,7 @@ im_application_list_message_added (Application *app, g_variant_builder_init (&dict_builder, G_VARIANT_TYPE ("a{sv}")); - prefixed_name = g_strjoin (".", "indicator", app->id, "msg-actions", id, name, NULL); + prefixed_name = g_strjoin (".", app->id, "msg-actions", id, name, NULL); g_variant_builder_add (&dict_builder, "{sv}", "name", g_variant_new_string (prefixed_name)); if (label) diff --git a/src/im-phone-menu.c b/src/im-phone-menu.c index 96bae42..7381097 100644 --- a/src/im-phone-menu.c +++ b/src/im-phone-menu.c @@ -72,7 +72,7 @@ im_phone_menu_constructed (GObject *object) clear_section = g_menu_new (); - item = g_menu_item_new ("Clear All", "indicator.remove-all"); + item = g_menu_item_new ("Clear All", "remove-all"); g_menu_item_set_attribute (item, "x-canonical-type", "s", "com.canonical.indicator.button"); g_menu_append_item (clear_section, item); @@ -167,7 +167,7 @@ im_phone_menu_add_message (ImPhoneMenu *menu, g_return_if_fail (IM_IS_PHONE_MENU (menu)); g_return_if_fail (app_id); - action_name = g_strconcat ("indicator.", app_id, ".msg.", id, NULL); + action_name = g_strconcat (app_id, ".msg.", id, NULL); item = g_menu_item_new (title, action_name); @@ -229,7 +229,7 @@ im_phone_menu_add_source (ImPhoneMenu *menu, g_return_if_fail (IM_IS_PHONE_MENU (menu)); g_return_if_fail (app_id != NULL); - action_name = g_strconcat ("indicator.", app_id, ".src.", id, NULL); + action_name = g_strconcat (app_id, ".src.", id, NULL); item = g_menu_item_new (label, action_name); g_menu_item_set_attribute (item, "x-canonical-type", "s", "com.canonical.indicator.messages.sourceitem"); -- cgit v1.2.3