[nautilus] help-overlay.ui: Expose shortcuts to create links
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] help-overlay.ui: Expose shortcuts to create links
- Date: Tue, 24 Mar 2020 17:15:52 +0000 (UTC)
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"><Primary>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"><Primary>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"><shift><Primary>z</property>
+ </object>
+ </child>
</object>
</child>
<child>
@@ -328,6 +342,20 @@
<property name="accelerator"><shift>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"><Primary>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"><Primary><shift>M</property>
+ </object>
+ </child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
@@ -370,20 +398,6 @@
<property name="accelerator"><Primary>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"><Primary>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"><shift><Primary>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]