summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSabri Ünal <libreajans@gmail.com>2020-03-22 14:54:37 +0300
committerAntónio Fernandes <antoniojpfernandes@gmail.com>2020-03-22 22:49:56 +0000
commitd9d315733637caaa7f6d33f08ff8ee8b1a37fa7b (patch)
tree845d4c159f4bd60e9005aa4aaa8c3d62cce4ccd5
parent88e830833ff429e09e0860016be6e053863feaed (diff)
downloadnautilus-d9d315733637caaa7f6d33f08ff8ee8b1a37fa7b.tar.gz
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
-rw-r--r--src/resources/gtk/help-overlay.ui42
1 files 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>
@@ -331,6 +345,20 @@
<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>
<property name="title" translatable="yes" context="shortcut window">Cut</property>
<property name="accelerator">&lt;Primary&gt;X</property>
</object>
@@ -373,20 +401,6 @@
<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>
<property name="title" translatable="yes" context="shortcut window">Show item properties</property>
<property name="accelerator">&lt;Primary&gt;I &lt;alt&gt;Return</property>
</object>