[file-roller/wip/gtk4: 45/54] shortcuts: allow to use <Ctrl>+ for adding files
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller/wip/gtk4: 45/54] shortcuts: allow to use <Ctrl>+ for adding files
- Date: Sun, 2 Oct 2022 17:56:50 +0000 (UTC)
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"><Primary>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"><Primary>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]