[nautilus] help-overlay.ui: Expose shortcuts to create links



commit d9d315733637caaa7f6d33f08ff8ee8b1a37fa7b
Author: Sabri Ünal <libreajans gmail com>
Date:   Sun Mar 22 14:54:37 2020 +0300

    help-overlay.ui: Expose shortcuts to create links
    
    Ctrl+M and Ctrl+shift+M are used to create a link to, respectively,
    a copied item or a selected item.
    
    But they were not exposed in the Keyboard Shortcuts dialog.
    
    Add them to the Editing section. Also move Undo/Redo to the General
    section, to prevent the Editing section from making the dialog too tall
    
    Related to https://gitlab.gnome.org/GNOME/nautilus/issues/1373

 src/resources/gtk/help-overlay.ui | 42 ++++++++++++++++++++++++++-------------
 1 file changed, 28 insertions(+), 14 deletions(-)
---
diff --git a/src/resources/gtk/help-overlay.ui b/src/resources/gtk/help-overlay.ui
index 94b96c964..5f4c689c1 100644
--- a/src/resources/gtk/help-overlay.ui
+++ b/src/resources/gtk/help-overlay.ui
@@ -60,6 +60,20 @@
                 <property name="accelerator">&lt;Primary&gt;question</property>
               </object>
             </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="title" translatable="yes" context="shortcut window">Undo</property>
+                <property name="accelerator">&lt;Primary&gt;z</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="title" translatable="yes" context="shortcut window">Redo</property>
+                <property name="accelerator">&lt;shift&gt;&lt;Primary&gt;z</property>
+              </object>
+            </child>
           </object>
         </child>
         <child>
@@ -328,6 +342,20 @@
                 <property name="accelerator">&lt;shift&gt;Delete</property>
               </object>
             </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="title" translatable="yes" context="shortcut window">Create link to copied 
item</property>
+                <property name="accelerator">&lt;Primary&gt;M</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">True</property>
+                <property name="title" translatable="yes" context="shortcut window">Create link to selected 
item</property>
+                <property name="accelerator">&lt;Primary&gt;&lt;shift&gt;M</property>
+              </object>
+            </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>
@@ -370,20 +398,6 @@
                 <property name="accelerator">&lt;Primary&gt;S</property>
               </object>
             </child>
-            <child>
-              <object class="GtkShortcutsShortcut">
-                <property name="visible">True</property>
-                <property name="title" translatable="yes" context="shortcut window">Undo</property>
-                <property name="accelerator">&lt;Primary&gt;z</property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkShortcutsShortcut">
-                <property name="visible">True</property>
-                <property name="title" translatable="yes" context="shortcut window">Redo</property>
-                <property name="accelerator">&lt;shift&gt;&lt;Primary&gt;z</property>
-              </object>
-            </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">True</property>


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