aboutsummaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-11-16 16:07:58 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-11-16 16:08:06 +0100
commitc1950d07d40a2a24cf5e22bdc2743fcf08f1afdb (patch)
tree7640575dac5875e39ec50360cf61f518af0f3f2e /src/service.c
parent610f27f7adfa7005ca411f703f759dd0688b42c1 (diff)
downloadayatana-indicator-session-c1950d07d40a2a24cf5e22bdc2743fcf08f1afdb.tar.gz
ayatana-indicator-session-c1950d07d40a2a24cf5e22bdc2743fcf08f1afdb.tar.bz2
ayatana-indicator-session-c1950d07d40a2a24cf5e22bdc2743fcf08f1afdb.zip
Use x-ayatanaindicator-* instead of x-canonical-*/x-ayatana-*.
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/service.c b/src/service.c
index e1a55a3..a064e1a 100644
--- a/src/service.c
+++ b/src/service.c
@@ -691,7 +691,7 @@ create_switch_section (IndicatorSessionService * self, int profile)
GMenuItem *item;
item = g_menu_item_new (_("Guest Session"), "indicator.switch-to-guest");
- g_menu_item_set_attribute (item, "x-ayatana-type", "s", "indicator.guest-menu-item");
+ g_menu_item_set_attribute (item, "x-ayatanaindicator-type", "s", "indicator.guest-menu-item");
g_menu_append_item (menu, item);
g_object_unref (item);
@@ -739,7 +739,7 @@ create_switch_section (IndicatorSessionService * self, int profile)
item = g_menu_item_new (label, NULL);
g_menu_item_set_action_and_target (item, "indicator.switch-to-user", "s", u->user_name);
- g_menu_item_set_attribute (item, "x-ayatana-type", "s", "indicator.user-menu-item");
+ g_menu_item_set_attribute (item, "x-ayatanaindicator-type", "s", "indicator.user-menu-item");
if ((serialized_icon = serialize_icon_file (u->icon_file)))
{
@@ -848,7 +848,7 @@ create_menu (IndicatorSessionService * self, int profile)
/* add submenu to the header */
header = g_menu_item_new (NULL, "indicator._header");
- g_menu_item_set_attribute (header, "x-ayatana-type", "s", "org.ayatana.indicator.root");
+ g_menu_item_set_attribute (header, "x-ayatanaindicator-type", "s", "org.ayatana.indicator.root");
g_menu_item_set_submenu (header, G_MENU_MODEL (submenu));
g_object_unref (submenu);