[epiphany] Use back and forward buttons in conjunction with Ctrl key
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Use back and forward buttons in conjunction with Ctrl key
- Date: Thu, 18 Apr 2019 21:40:23 +0000 (UTC)
commit ff0aa0e6ceff78dd7667a02af839d03dd6757edc
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Thu Apr 18 21:12:37 2019 +0200
Use back and forward buttons in conjunction with Ctrl key
Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/727
src/window-commands.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/window-commands.c b/src/window-commands.c
index 95bda9585..6f492c189 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -660,6 +660,12 @@ window_cmd_navigation (GSimpleAction *action,
EphyWindow *window = EPHY_WINDOW (user_data);
EphyEmbed *embed;
WebKitWebView *web_view;
+ EphyLinkFlags flags = ephy_link_flags_from_current_event ();
+
+ if (flags & EPHY_LINK_NEW_TAB) {
+ window_cmd_navigation_new_tab (action, parameter, user_data);
+ return;
+ }
embed = ephy_embed_container_get_active_child (EPHY_EMBED_CONTAINER (window));
g_assert (embed != NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]