diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-04-13 13:28:46 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-04-13 13:28:46 -0400 |
commit | 5f55c420471db9a05d145e140b3a7cdfc5bdba9f (patch) | |
tree | 78b5037e0936c1e02a4e9e615c5254be6504fbf8 /gtk/gtkmenubar.c | |
parent | f771a641e2462dcae27a80652ff3b6719150ce3f (diff) | |
download | gtk+-5f55c420471db9a05d145e140b3a7cdfc5bdba9f.tar.gz |
GtkMenuShell: always 'activate' menu shells
Failing to do so can leave us with a stuck grab in some cases.
https://bugzilla.gnome.org/show_bug.cgi?id=554057
Diffstat (limited to 'gtk/gtkmenubar.c')
-rw-r--r-- | gtk/gtkmenubar.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c index b35ec0ca89..b234b27d18 100644 --- a/gtk/gtkmenubar.c +++ b/gtk/gtkmenubar.c @@ -686,7 +686,6 @@ window_key_press_handler (GtkWidget *widget, GtkMenuShell *menu_shell = GTK_MENU_SHELL (menubars->data); _gtk_menu_shell_set_keyboard_mode (menu_shell, TRUE); - _gtk_menu_shell_activate (menu_shell); gtk_menu_shell_select_first (menu_shell, FALSE); g_list_free (menubars); |