[epiphany/gnome-3-22] Remove keyboard shortcut for Duplicate Tab



commit 6a3a15eb0e76c421e841a4f84805c73d5e1ed267
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Aug 16 17:18:32 2016 +0200

    Remove keyboard shortcut for Duplicate Tab
    
    It conflicts with GtkInspector

 src/ephy-window.c                 |    2 +-
 src/resources/shortcuts-dialog.ui |    7 -------
 2 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 1b2eb9a..061ccbb 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -176,7 +176,7 @@ static const GtkActionEntry ephy_menu_entries [] = {
     G_CALLBACK (window_cmd_tabs_move_left) },
   { "TabsMoveRight", NULL, N_("Move Tab _Right"), "<shift><control>Page_Down", NULL,
     G_CALLBACK (window_cmd_tabs_move_right) },
-  { "TabsDuplicate", NULL, N_("Du_plicate"), "<shift><control>D", NULL,
+  { "TabsDuplicate", NULL, N_("Du_plicate"), NULL, NULL,
     G_CALLBACK (window_cmd_tabs_duplicate) },
   { "TabsDetach", NULL, N_("_Detach Tab"), NULL, NULL,
     G_CALLBACK (window_cmd_tabs_detach) },
diff --git a/src/resources/shortcuts-dialog.ui b/src/resources/shortcuts-dialog.ui
index d18e851..7592a42 100644
--- a/src/resources/shortcuts-dialog.ui
+++ b/src/resources/shortcuts-dialog.ui
@@ -130,13 +130,6 @@
             <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;D</property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkShortcutsShortcut">
-                <property name="visible">True</property>
                 <property name="title" translatable="yes" context="shortcut window">Close current 
tab</property>
                 <property name="accelerator">&lt;Primary&gt;W</property>
               </object>


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