aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-09-20 14:41:52 +0200
committerRobert Tari <robert@tari.in>2021-09-20 14:41:52 +0200
commitcaec51f5df37cefd58db78a9e9c7c13f9a27753a (patch)
tree1c05f473a46bcaf65cd880a8ff5165ff13c7402c
parentf0f879c6848f4c6b7e0e8916c086dda19c7b608b (diff)
downloadayatana-ido-caec51f5df37cefd58db78a9e9c7c13f9a27753a.tar.gz
ayatana-ido-caec51f5df37cefd58db78a9e9c7c13f9a27753a.tar.bz2
ayatana-ido-caec51f5df37cefd58db78a9e9c7c13f9a27753a.zip
Use consistent Ayatana IDO names
-rw-r--r--src/idomenuitemfactory.c12
-rw-r--r--src/idousermenuitem.c6
2 files changed, 9 insertions, 9 deletions
diff --git a/src/idomenuitemfactory.c b/src/idomenuitemfactory.c
index e259664..7f9978c 100644
--- a/src/idomenuitemfactory.c
+++ b/src/idomenuitemfactory.c
@@ -57,10 +57,10 @@ ido_menu_item_factory_create_menu_item (AyatanaMenuItemFactory *factory,
{
GtkMenuItem *item = NULL;
- if (g_str_equal (type, "indicator.user-menu-item"))
+ if (g_str_equal (type, "org.ayatana.indicator.user-menu-item"))
item = ido_user_menu_item_new_from_model (menuitem, actions);
- if (g_str_equal (type, "indicator.guest-menu-item"))
+ if (g_str_equal (type, "org.ayatana.indicator.guest-menu-item"))
item = ido_guest_menu_item_new_from_model (menuitem, actions);
else if (g_str_equal (type, "org.ayatana.indicator.calendar"))
@@ -81,16 +81,16 @@ ido_menu_item_factory_create_menu_item (AyatanaMenuItemFactory *factory,
else if (g_str_equal (type, "org.ayatana.indicator.progress"))
item = ido_progress_menu_item_new_from_model (menuitem, actions);
- else if (g_str_equal (type, "org.ayatana.unity.slider"))
+ else if (g_str_equal (type, "org.ayatana.indicator.slider"))
item = ido_scale_menu_item_new_from_model (menuitem, actions);
- else if (g_str_equal (type, "org.ayatana.unity.media-player"))
+ else if (g_str_equal (type, "org.ayatana.indicator.media-player"))
item = ido_media_player_menu_item_new_from_model (menuitem, actions);
- else if (g_str_equal (type, "org.ayatana.unity.playback-item"))
+ else if (g_str_equal (type, "org.ayatana.indicator.playback-item"))
item = ido_playback_menu_item_new_from_model (menuitem, actions);
- else if (g_str_equal (type, "org.ayatana.application"))
+ else if (g_str_equal (type, "org.ayatana.indicator.application"))
item = ido_application_menu_item_new_from_model (menuitem, actions);
else if (g_str_equal (type, "org.ayatana.indicator.messages.source"))
diff --git a/src/idousermenuitem.c b/src/idousermenuitem.c
index 96bbeb4..1f157ae 100644
--- a/src/idousermenuitem.c
+++ b/src/idousermenuitem.c
@@ -397,7 +397,7 @@ ido_user_menu_item_new (void)
/*
* This is a helper function for creating user menuitems for both
- * "indicator.user-menu-item" and "indicator.guest-menu-item",
+ * "org.ayatana.indicator.user-menu-item" and "org.ayatana.indicator.guest-menu-item",
* since they only differ in how they use their action's state.
*/
static GtkMenuItem *
@@ -472,7 +472,7 @@ user_menu_item_new_from_model (GMenuItem * menuitem,
}
/***
-**** indicator.user-menu-item handler
+**** org.ayatana.indicator.user-menu-item handler
***/
/**
@@ -546,7 +546,7 @@ ido_user_menu_item_new_from_model (GMenuItem *menuitem,
}
/***
-**** indicator.guest-menu-item handler
+**** org.ayatana.indicator.guest-menu-item handler
***/
static void