From 610b2cc6eff717d18a30d0dbec2a1382e61ad7a1 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Wed, 13 Mar 2013 16:32:22 +0000 Subject: indicator-ng: allow a dictionary as the root action's state Hopefully, this is more straightforward to use than (sssb). It's also extensible. (sssb) is still supported for backwards compatibility, but I wouldn't recommend using it anymore. --- tests/indicator-test-service.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/indicator-test-service.c b/tests/indicator-test-service.c index 0393677..a40945f 100644 --- a/tests/indicator-test-service.c +++ b/tests/indicator-test-service.c @@ -70,7 +70,9 @@ main (int argc, char **argv) GMenuItem *item; GMenu *submenu; GActionEntry entries[] = { - { "_header", NULL, NULL, "('Test', 'indicator-test', 'Test indicator', true)", NULL }, + { "_header", NULL, NULL, "{'label': <'Test'>," + " 'icon': <'indicator-test'>," + " 'accessible-desc': <'Test indicator'> }", NULL }, { "show", activate_show, NULL, NULL, NULL } }; GMainLoop *loop; -- cgit v1.2.3