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') 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 From fff9cc9a74a4dff4a424f3da3f2d6e82ff4266b8 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 22 Feb 2012 23:55:58 -0600 Subject: Removing this test as it doesn't work properly with GTK currently --- tests/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index db2d469..6824c1c 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -25,8 +25,10 @@ TESTS += \ test-gtk-label \ test-gtk-shortcut \ test-gtk-reorder \ - test-gtk-submenu \ test-gtk-parser-test +# Not working with GTK3 and a critical grab that is in +# the GTK3 code. +# test-gtk-submenu endif # The Python test only work on the system copy of -- cgit v1.2.3