Commit aa4d8b23 authored by Jeremy Bicha's avatar Jeremy Bicha

Add Ctrl+W accelerator for Quit

Ctrl+Q is the primary keyboard shortcut.

Since GNOME Tetravex is a single instance (single window) app,
it makes sense for the "close window" keyboard shortcut to
quit the app too.
parent 33a57b1d
......@@ -75,7 +75,7 @@ public class Tetravex : Gtk.Application
set_accels_for_action ("app.new-game", {"<Primary>n"});
set_accels_for_action ("app.pause", {"Pause"});
set_accels_for_action ("app.help", {"F1"});
set_accels_for_action ("app.quit", {"<Primary>q"});
set_accels_for_action ("app.quit", {"<Primary>q", "<Primary>w"});
set_accels_for_action ("app.move-up", {"<Primary>Up"});
set_accels_for_action ("app.move-down", {"<Primary>Down"});
set_accels_for_action ("app.move-left", {"<Primary>Left"});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment