[gitg] Shorcut to open preferences
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Shorcut to open preferences
- Date: Sat, 29 Dec 2018 11:52:27 +0000 (UTC)
commit c8aa035e1e5f60adf81384914d4f278a0000edf2
Author: Alberto Fanjul <albertofanjul gmail com>
Date: Sat Dec 29 12:51:07 2018 +0100
Shorcut to open preferences
<Primary>comma will open preferences dialog in any view
<Escape> will close it as usual
gitg/gitg-application.vala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gitg/gitg-application.vala b/gitg/gitg-application.vala
index 0aae0732..81829543 100644
--- a/gitg/gitg-application.vala
+++ b/gitg/gitg-application.vala
@@ -394,7 +394,8 @@ public class Application : Gtk.Application
{"win.search", "<Primary>F"},
{"win.gear-menu", "F10"},
{"win.open-repository", "<Primary>O"},
- {"win.close", "<Primary>W"}
+ {"win.close", "<Primary>W"},
+ {"win.preferences", "<Primary>comma"},
};
var multi_accels = new MultiAccel[] {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]