From 82ecfaaa89684a7504913fb039d0dd8302c82ec9 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Fri, 25 Jan 2013 10:29:57 +0100 Subject: indicator-ng: require header item to have x-canonical-type set --- tests/indicator-test-service.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/indicator-test-service.c b/tests/indicator-test-service.c index 3a6a0b2..0393677 100644 --- a/tests/indicator-test-service.c +++ b/tests/indicator-test-service.c @@ -81,6 +81,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_submenu (item, G_MENU_MODEL (submenu)); indicator.menu = g_menu_new (); g_menu_append_item (indicator.menu, item); -- cgit v1.2.3