[file-roller/wip/gtk4: 45/54] shortcuts: allow to use <Ctrl>+ for adding files




commit 5c462cd58c3296cc301cb80c160c2700f474b209
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Oct 2 08:08:11 2022 +0200

    shortcuts: allow to use <Ctrl>+ for adding files

 src/fr-window-actions-entries.h | 5 +++--
 src/ui/help-overlay.ui          | 8 +++++++-
 2 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/src/fr-window-actions-entries.h b/src/fr-window-actions-entries.h
index 78206966..e98dbe9e 100644
--- a/src/fr-window-actions-entries.h
+++ b/src/fr-window-actions-entries.h
@@ -176,11 +176,12 @@ static const FrAccelerator fr_window_accelerators[] = {
        { "win.find", "<Control>f" },
        { "win.reload", "<Control>r" },
        { "win.rename", "F2" },
-       { "win.save-as", "<Shift><Control>s" }, 
+       { "win.save-as", "<Shift><Control>s" },
        { "win.select-all", "<control>a" },
        { "win.view-properties", "<alt>Return" },
        { "win.view-sidebar", "F9" },
-       { "win.focus-location", "<Control>l" }
+       { "win.focus-location", "<Control>l" },
+       { "win.add-files", "<Control>plus" },
 };
 
 
diff --git a/src/ui/help-overlay.ui b/src/ui/help-overlay.ui
index 351a4b22..790bc3a5 100644
--- a/src/ui/help-overlay.ui
+++ b/src/ui/help-overlay.ui
@@ -54,7 +54,13 @@
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="accelerator">&lt;Primary&gt;E</property>
-                <property name="title" translatable="1" context="shortcut window">Extract an 
archive</property>
+                <property name="title" translatable="1" context="shortcut window">Extract files from the 
archive</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="accelerator">&lt;Primary&gt;plus</property>
+                <property name="title" translatable="1" context="shortcut window">Add files to the 
archive</property>
               </object>
             </child>
             <child>


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