aboutsummaryrefslogtreecommitdiff
path: root/tests/test-gtk-submenu-server.c
diff options
context:
space:
mode:
authorAlberto Mardegan <alberto.mardegan@canonical.com>2012-02-22 12:02:01 +0200
committerAlberto Mardegan <alberto.mardegan@canonical.com>2012-02-22 12:02:01 +0200
commit0c3006bfaac388b88b2597e0959e0ded3bd7be96 (patch)
treec4df33f9a9cc4a014cc2cb059f38dab4df501f2b /tests/test-gtk-submenu-server.c
parentaef71fa6d08309a29df51d94bcb2c7713e9c04ee (diff)
downloadlibdbusmenu-0c3006bfaac388b88b2597e0959e0ded3bd7be96.tar.gz
libdbusmenu-0c3006bfaac388b88b2597e0959e0ded3bd7be96.tar.bz2
libdbusmenu-0c3006bfaac388b88b2597e0959e0ded3bd7be96.zip
Do not read the label text from the label widget
The label text stored in the widget might have been modified with markup. Instead of reading it back from the widget, return the text as set by the client, unmodified. Alter the test-gtk-submenu so that the correct behaviour is checked for.
Diffstat (limited to 'tests/test-gtk-submenu-server.c')
-rw-r--r--tests/test-gtk-submenu-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-gtk-submenu-server.c b/tests/test-gtk-submenu-server.c
index 9c4d7d4..1d38a44 100644
--- a/tests/test-gtk-submenu-server.c
+++ b/tests/test-gtk-submenu-server.c
@@ -64,6 +64,7 @@ on_bus (GDBusConnection * connection, const gchar * name, gpointer user_data)
DbusmenuMenuitem * item;
item = add_item(root, "Folder 1");
+ dbusmenu_menuitem_property_set(item, "disposition", "alert");
add_item(item, "1.1");
add_item(item, "1.2");
add_item(item, "1.3");