[epiphany] Use alt+enter for opening pages in new tab



commit 05664ed61421f587ca9b5ab575ef103c301ef94f
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Sun Jul 28 16:52:33 2019 +0200

    Use alt+enter for opening pages in new tab
    
    Fixes: https://gitlab.gnome.org/GNOME/epiphany/issues/860

 src/ephy-link.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/ephy-link.c b/src/ephy-link.c
index 00a51a4cc..5bc2a75dd 100644
--- a/src/ephy-link.c
+++ b/src/ephy-link.c
@@ -110,10 +110,10 @@ ephy_link_flags_from_current_event (void)
       flags = EPHY_LINK_NEW_TAB | EPHY_LINK_NEW_TAB_APPEND_AFTER;
     }
   } else {
-    if (state == (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) {
+    if (state == (GDK_MOD1_MASK | GDK_SHIFT_MASK)) {
       flags = EPHY_LINK_NEW_WINDOW;
-    } else if (state == GDK_CONTROL_MASK) {
-      flags = EPHY_LINK_NEW_TAB | EPHY_LINK_NEW_TAB_APPEND_AFTER;
+    } else if (state == GDK_MOD1_MASK) {
+      flags = EPHY_LINK_NEW_TAB | EPHY_LINK_NEW_TAB_APPEND_AFTER | EPHY_LINK_JUMP_TO;
     }
   }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]