[gnome-nibbles] Fix New Game shortcut



commit 4b6efab1ad78c51accb0149c8143e82397ea3baf
Author: Iulian Gabriel Radu <iulian radu67 gmail com>
Date:   Sat Feb 15 19:22:37 2020 +0200

    Fix New Game shortcut
    
    Fixes #27

 src/gnome-nibbles.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/gnome-nibbles.vala b/src/gnome-nibbles.vala
index 18302c1..9ae75cf 100644
--- a/src/gnome-nibbles.vala
+++ b/src/gnome-nibbles.vala
@@ -158,6 +158,7 @@ public class Nibbles : Gtk.Application
             worm_settings[i].changed.connect (worm_settings_changed_cb);
         }
 
+        set_accels_for_action ("app.new-game", {"<Primary>n"});
         set_accels_for_action ("app.quit", {"<Primary>q"});
         set_accels_for_action ("app.back", {"Escape"});
         set_accels_for_action ("app.help", {"F1"});


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