diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-03-13 22:24:42 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-03-13 22:24:42 +0000 |
commit | daf0dc90ac1f87ce02debd1cba9b1f084decee12 (patch) | |
tree | eeb44bb407a76e37ebede196919156c735613b60 /tests | |
parent | 208d1ba79fd677e4b42f88a6f7d1f9c66ac09929 (diff) | |
parent | 610b2cc6eff717d18a30d0dbec2a1382e61ad7a1 (diff) | |
download | libayatana-indicator-daf0dc90ac1f87ce02debd1cba9b1f084decee12.tar.gz libayatana-indicator-daf0dc90ac1f87ce02debd1cba9b1f084decee12.tar.bz2 libayatana-indicator-daf0dc90ac1f87ce02debd1cba9b1f084decee12.zip |
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.
Approved by Charles Kerr, PS Jenkins bot.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/indicator-test-service.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |