aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-01-25 10:29:57 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-01-25 10:29:57 +0100
commit82ecfaaa89684a7504913fb039d0dd8302c82ec9 (patch)
tree65332ebc3eb241dd03bc377dc7360720c95e5363 /tests
parentf02ca5a6b148d7ab6c33692da84f4601af4fd8c8 (diff)
downloadlibayatana-indicator-82ecfaaa89684a7504913fb039d0dd8302c82ec9.tar.gz
libayatana-indicator-82ecfaaa89684a7504913fb039d0dd8302c82ec9.tar.bz2
libayatana-indicator-82ecfaaa89684a7504913fb039d0dd8302c82ec9.zip
indicator-ng: require header item to have x-canonical-type set
Diffstat (limited to 'tests')
-rw-r--r--tests/indicator-test-service.c1
1 files changed, 1 insertions, 0 deletions
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);