aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-08-21 14:34:16 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-08-21 14:34:16 -0500
commitfb4b30683744b22f3eae819a100ad3184b454fc8 (patch)
treeb17e5acd65850e4ca4f4e1b1a86346b9e822a107 /src
parent791d004241cff29a1143dca4d44aea07896f7381 (diff)
downloadayatana-ido-fb4b30683744b22f3eae819a100ad3184b454fc8.tar.gz
ayatana-ido-fb4b30683744b22f3eae819a100ad3184b454fc8.tar.bz2
ayatana-ido-fb4b30683744b22f3eae819a100ad3184b454fc8.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/idoswitchmenuitem.c2
1 files changed, 1 insertions, 1 deletions
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 */