diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-05-17 09:50:23 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-05-17 09:50:23 +0200 |
commit | 9ab3198cb29545c656ac9f8b16ebdfa7e2e298e8 (patch) | |
tree | 4599b69238f948a8b55c2841a4d9297ae74a6323 /src | |
parent | c1950d07d40a2a24cf5e22bdc2743fcf08f1afdb (diff) | |
download | ayatana-indicator-session-9ab3198cb29545c656ac9f8b16ebdfa7e2e298e8.tar.gz ayatana-indicator-session-9ab3198cb29545c656ac9f8b16ebdfa7e2e298e8.tar.bz2 ayatana-indicator-session-9ab3198cb29545c656ac9f8b16ebdfa7e2e298e8.zip |
switch back to x-canonical-type
Diffstat (limited to 'src')
-rw-r--r-- | src/service.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/service.c b/src/service.c index a064e1a..46c3c19 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-ayatanaindicator-type", "s", "indicator.guest-menu-item"); + g_menu_item_set_attribute (item, "x-canonical-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-ayatanaindicator-type", "s", "indicator.user-menu-item"); + g_menu_item_set_attribute (item, "x-canonical-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-ayatanaindicator-type", "s", "org.ayatana.indicator.root"); + g_menu_item_set_attribute (header, "x-canonical-type", "s", "org.ayatana.indicator.root"); g_menu_item_set_submenu (header, G_MENU_MODEL (submenu)); g_object_unref (submenu); |