diff options
author | Sabri Ünal <libreajans@gmail.com> | 2020-03-22 14:54:37 +0300 |
---|---|---|
committer | António Fernandes <antoniojpfernandes@gmail.com> | 2020-03-22 22:49:56 +0000 |
commit | d9d315733637caaa7f6d33f08ff8ee8b1a37fa7b (patch) | |
tree | 845d4c159f4bd60e9005aa4aaa8c3d62cce4ccd5 | |
parent | 88e830833ff429e09e0860016be6e053863feaed (diff) | |
download | nautilus-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.ui | 42 |
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"><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> @@ -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"><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> <property name="title" translatable="yes" context="shortcut window">Cut</property> <property name="accelerator"><Primary>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"><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> <property name="title" translatable="yes" context="shortcut window">Show item properties</property> <property name="accelerator"><Primary>I <alt>Return</property> </object> |