diff options
author | Ted Gould <ted@gould.cx> | 2010-02-19 15:12:21 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-19 15:12:21 -0600 |
commit | feada06b32e4bcf70a05de8a3669ff07449dc750 (patch) | |
tree | 567b95dc6c53f51699334fe0674694024bd8c29b /tests/test-glib-proxy-server.c | |
parent | 2ad7f9ec616163f8de67700a99b1dbdd5d6b003d (diff) | |
download | libdbusmenu-feada06b32e4bcf70a05de8a3669ff07449dc750.tar.gz libdbusmenu-feada06b32e4bcf70a05de8a3669ff07449dc750.tar.bz2 libdbusmenu-feada06b32e4bcf70a05de8a3669ff07449dc750.zip |
Putting the layout number on the root element
Diffstat (limited to 'tests/test-glib-proxy-server.c')
-rw-r--r-- | tests/test-glib-proxy-server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-glib-proxy-server.c b/tests/test-glib-proxy-server.c index 14bc0b7..4fa0844 100644 --- a/tests/test-glib-proxy-server.c +++ b/tests/test-glib-proxy-server.c @@ -90,6 +90,7 @@ layout_change (DbusmenuMenuitem * oldroot, guint timestamp, gpointer data) DbusmenuMenuitem * mi = layout2menuitem(&layouts[layouton]); g_signal_connect(G_OBJECT(mi), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(layout_change), NULL); + dbusmenu_menuitem_property_set_int(mi, LAYOUT_ON, layouton); dbusmenu_server_set_root(server, mi); g_object_unref(G_OBJECT(mi)); layouton++; |