[gnome-nibbles/arnaudb/shortcuts-dialog: 4/7] Add pause shortcuts.



commit cf9ca415acd10dbb7fd4859767758d29b89e1d12
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Jul 6 16:09:46 2020 +0200

    Add pause shortcuts.
    
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861850

 src/gnome-nibbles.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/gnome-nibbles.vala b/src/gnome-nibbles.vala
index 78da960..452c643 100644
--- a/src/gnome-nibbles.vala
+++ b/src/gnome-nibbles.vala
@@ -90,6 +90,8 @@ private class Nibbles : Gtk.Application
         add_action_entries (action_entries, this);
 
         set_accels_for_action ("win.new-game",  { "<Primary>n"      });
+        set_accels_for_action ("win.pause",     { "<Primary>p",
+                                                           "Pause"  });
         set_accels_for_action ("app.quit",      { "<Primary>q"      });
         set_accels_for_action ("win.back",      {          "Escape" });
         set_accels_for_action ("app.help",      {          "F1"     });


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