[epiphany] Add shortcut to duplicate current tab



commit c541f996c34a71a9568b6e7f21f54f66a068c125
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Tue Apr 28 13:51:34 2020 +0200

    Add shortcut to duplicate current tab
    
    Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/1167

 src/ephy-window.c                     | 2 +-
 src/resources/gtk/shortcuts-dialog.ui | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index ee8952e70..e046a0290 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -129,7 +129,7 @@ const struct {
   { "tab.next", { "<Primary>Page_Down", "<Primary>KP_3", "<Primary>Tab", NULL } },
   { "tab.move-left", { "<shift><Primary>Page_Up", NULL } },
   { "tab.move-right", { "<shift><Primary>Page_Down", NULL } },
-  { "tab.duplicate", { NULL } },
+  { "tab.duplicate", { "<shift><Primary>K", NULL } },
   { "tab.close", { "<Primary>W", NULL } },
   { "tab.pin", { NULL } }
 }, accels_navigation_ltr [] = {
diff --git a/src/resources/gtk/shortcuts-dialog.ui b/src/resources/gtk/shortcuts-dialog.ui
index 5aee4c0e2..ecfcfa596 100644
--- a/src/resources/gtk/shortcuts-dialog.ui
+++ b/src/resources/gtk/shortcuts-dialog.ui
@@ -197,6 +197,13 @@
                 <property name="accelerator">&lt;shift&gt;&lt;Primary&gt;Page_Down</property>
               </object>
             </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="title" translatable="yes" context="shortcut window">Duplicate current 
tab</property>
+                <property name="accelerator">&lt;shift&gt;&lt;Primary&gt;K</property>
+              </object>
+            </child>
           </object>
         </child>
 


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