[gnome-2048/app-menu] Add Ctrl-F1 as a shortcut for the about dialog.



commit 170077bbbdeac1d502a3f351b0b72bb84e4538b9
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Jan 8 15:31:58 2019 +0100

    Add Ctrl-F1 as a shortcut for the about dialog.

 src/application.vala | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/application.vala b/src/application.vala
index 9d3838c..e93a8cc 100644
--- a/src/application.vala
+++ b/src/application.vala
@@ -134,7 +134,8 @@ public class Application : Gtk.Application
         _create_scores ();
 
         set_accels_for_action ("app.new-game",  {        "<Primary>n"   });
-        set_accels_for_action ("app.about",     { "<Shift><Primary>F1"  });
+        set_accels_for_action ("app.about",     { "<Shift><Primary>F1",
+                                                         "<Primary>F1"  });
 
         _window.show_all ();
 


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