aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libayatana-indicator/indicator-ng.c4
-rw-r--r--tests/indicator-test-service.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libayatana-indicator/indicator-ng.c b/libayatana-indicator/indicator-ng.c
index d1d2854..e645522 100644
--- a/libayatana-indicator/indicator-ng.c
+++ b/libayatana-indicator/indicator-ng.c
@@ -392,7 +392,7 @@ indicator_ng_menu_changed (GMenuModel *menu,
g_clear_pointer (&self->scroll_action, g_free);
g_clear_pointer (&self->secondary_action, g_free);
- if (indicator_ng_menu_item_is_of_type (self->menu, 0, "com.canonical.indicator.root"))
+ if (indicator_ng_menu_item_is_of_type (self->menu, 0, "org.ayatana.indicator.root"))
{
GMenuModel *popup;
gchar *action;
@@ -435,7 +435,7 @@ indicator_ng_menu_changed (GMenuModel *menu,
indicator_ng_update_entry (self);
}
else
- g_warning ("indicator menu item must be of type 'com.canonical.indicator.root'");
+ g_warning ("indicator menu item must be of type 'org.ayatana.indicator.root'");
}
}
diff --git a/tests/indicator-test-service.c b/tests/indicator-test-service.c
index a633c95..2aa973e 100644
--- a/tests/indicator-test-service.c
+++ b/tests/indicator-test-service.c
@@ -83,7 +83,7 @@ main (int argc, char **argv)
submenu = g_menu_new ();
g_menu_append (submenu, "Show", "indicator.show");
item = g_menu_item_new (NULL, "indicator._header");
- g_menu_item_set_attribute (item, "x-canonical-type", "s", "com.canonical.indicator.root");
+ g_menu_item_set_attribute (item, "x-canonical-type", "s", "org.ayatana.indicator.root");
g_menu_item_set_submenu (item, G_MENU_MODEL (submenu));
indicator.menu = g_menu_new ();
g_menu_append_item (indicator.menu, item);