diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-05-16 11:09:43 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-05-16 11:09:43 +0200 |
commit | 8c2a254ada6e891aff32b660aad98f4ab664e60f (patch) | |
tree | 5b0e3546e3cd9ba685540b5507644973e61c00ff | |
parent | ac3c9604df50561a91dcc75329d37f29e184967a (diff) | |
download | libayatana-indicator-8c2a254ada6e891aff32b660aad98f4ab664e60f.tar.gz libayatana-indicator-8c2a254ada6e891aff32b660aad98f4ab664e60f.tar.bz2 libayatana-indicator-8c2a254ada6e891aff32b660aad98f4ab664e60f.zip |
Fix up for previous commit.
-rw-r--r-- | libayatana-indicator/indicator-ng.c | 4 | ||||
-rw-r--r-- | 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); |