[gnome-chess] Add an accelerator for Save As



commit 80cf1a3c232bccdbb840ead92d137189449d5cf6
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Jan 6 17:38:33 2014 -0600

    Add an accelerator for Save As
    
    Shift+Ctrl+S

 src/gnome-chess.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 2002338..4930114 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -1026,6 +1026,7 @@ public class Application : Gtk.Application
         add_accelerator ("<Control>N", "win." + NEW_GAME_ACTION_NAME, null);
         add_accelerator ("<Control>O", "win." + OPEN_GAME_ACTION_NAME, null);
         add_accelerator ("<Control>S", "win." + SAVE_GAME_ACTION_NAME, null);
+        add_accelerator ("<Shift><Control>S", "win." + SAVE_GAME_AS_ACTION_NAME, null);
         add_accelerator ("<Control>Z", "win." + UNDO_MOVE_ACTION_NAME, null);
         add_accelerator ("Pause", "win." + PAUSE_RESUME_ACTION_NAME, null);
     }


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