[baobab] Add <Alt>Left keyboard shortcut to go back to location list
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab] Add <Alt>Left keyboard shortcut to go back to location list
- Date: Mon, 15 Oct 2018 15:31:11 +0000 (UTC)
commit f9b86b8c5de73fc23964aa3eb6eeec193cfc1091
Author: Stefano Facchini <stefano facchini gmail com>
Date: Mon Oct 15 12:12:12 2018 +0200
Add <Alt>Left keyboard shortcut to go back to location list
src/baobab-application.vala | 1 +
src/help-overlay.ui | 7 +++++++
2 files changed, 8 insertions(+)
---
diff --git a/src/baobab-application.vala b/src/baobab-application.vala
index 0b0cf98..10cad3b 100644
--- a/src/baobab-application.vala
+++ b/src/baobab-application.vala
@@ -94,6 +94,7 @@ namespace Baobab {
}
Gtk.StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), css_provider,
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
+ set_accels_for_action ("win.show-home-page", { "<Alt>Left" });
set_accels_for_action ("win.show-primary-menu", { "F10" });
set_accels_for_action ("win.scan-folder", { "<Primary>o" });
set_accels_for_action ("win.reload", { "<Primary>r" });
diff --git a/src/help-overlay.ui b/src/help-overlay.ui
index 0c76460..9bb465b 100644
--- a/src/help-overlay.ui
+++ b/src/help-overlay.ui
@@ -39,6 +39,13 @@
<property name="accelerator"><ctrl><shift>question</property>
</object>
</child>
+ <child>
+ <object class="GtkShortcutsShortcut">
+ <property name="visible">true</property>
+ <property name="accelerator"><Alt>Left</property>
+ <property name="title" translatable="yes" context="shortcut window">Go back to location
list</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]