From fb4b30683744b22f3eae819a100ad3184b454fc8 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 21 Aug 2012 14:34:16 -0500 Subject: use gtk_menu_shell_deactivate() rather than gtk_menu_popdown(); the latter handles the issue of the menu title being painted as if the menu were still open --- src/idoswitchmenuitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/idoswitchmenuitem.c') diff --git a/src/idoswitchmenuitem.c b/src/idoswitchmenuitem.c index 192323d..3831336 100644 --- a/src/idoswitchmenuitem.c +++ b/src/idoswitchmenuitem.c @@ -87,7 +87,7 @@ popdown_later_cb (gpointer widget) GtkWidget * parent = gtk_widget_get_parent (widget); if (GTK_IS_MENU (parent)) { - gtk_menu_popdown (GTK_MENU(parent)); + gtk_menu_shell_deactivate (GTK_MENU_SHELL(parent)); } g_object_unref (widget); return FALSE; /* only call this cb once */ -- cgit v1.2.3