From 8c2a254ada6e891aff32b660aad98f4ab664e60f Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 16 May 2017 11:09:43 +0200 Subject: Fix up for previous commit. --- libayatana-indicator/indicator-ng.c | 4 ++-- tests/indicator-test-service.c | 2 +- 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); -- cgit v1.2.3