From 0c3006bfaac388b88b2597e0959e0ded3bd7be96 Mon Sep 17 00:00:00 2001 From: Alberto Mardegan Date: Wed, 22 Feb 2012 12:02:01 +0200 Subject: 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. --- tests/test-gtk-submenu-server.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/test-gtk-submenu-server.c') 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"); -- cgit v1.2.3