diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-11-08 03:32:17 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-11-08 03:32:17 +0800 |
commit | 934fafce5581c0cff57a9712d0816557a3f61f34 (patch) | |
tree | 4a7c31c7565a8987b33dd1850abd8d28bb65b21d /src/ephy-window.c | |
parent | 10b9e346654223940392f8c9e19b77b552e5ba79 (diff) | |
download | gsoc2013-epiphany-934fafce5581c0cff57a9712d0816557a3f61f34.tar gsoc2013-epiphany-934fafce5581c0cff57a9712d0816557a3f61f34.tar.gz gsoc2013-epiphany-934fafce5581c0cff57a9712d0816557a3f61f34.tar.bz2 gsoc2013-epiphany-934fafce5581c0cff57a9712d0816557a3f61f34.tar.lz gsoc2013-epiphany-934fafce5581c0cff57a9712d0816557a3f61f34.tar.xz gsoc2013-epiphany-934fafce5581c0cff57a9712d0816557a3f61f34.tar.zst gsoc2013-epiphany-934fafce5581c0cff57a9712d0816557a3f61f34.zip |
When popping up the context menu with keyboard, select the first menu
2004-11-07 Christian Persch <chpe@cvs.gnome.org>
* lib/widgets/ephy-node-view.c: (ephy_node_view_popup):
* src/bookmarks/ephy-bookmark-action.c: (show_context_menu),
(popup_menu_cb), (button_press_cb):
* src/bookmarks/ephy-topic-action.c: (button_toggled_cb),
(show_context_menu), (popup_menu_cb), (button_press_cb):
* src/ephy-window.c: (show_embed_popup):
When popping up the context menu with keyboard, select the first
menu item. Fixes bug #154907.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 2e23502c0..2ed8e044f 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1761,8 +1761,9 @@ show_embed_popup (EphyWindow *window, EphyTab *tab, EphyEmbedEvent *event) if (type == EPHY_EMBED_EVENT_KEY) { gtk_menu_popup (GTK_MENU (widget), NULL, NULL, - popup_menu_at_coords, event, 2, + popup_menu_at_coords, event, 0, gtk_get_current_event_time ()); + gtk_menu_shell_select_first (GTK_MENU_SHELL (widget), FALSE); } else { |