[gnome-sound-recorder] application.js: Add accelerator for quit action



commit 35625ff31f2a062a314d463b4918f0633eb8909f
Author: David King <amigadave amigadave com>
Date:   Fri Mar 28 11:09:08 2014 +0000

    application.js: Add accelerator for quit action
    
    https://bugzilla.gnome.org/show_bug.cgi?id=727230
    
    Signed-off-by: Meg Ford <megford gnome org>

 src/application.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 135849d..4550160 100644
--- a/src/application.js
+++ b/src/application.js
@@ -70,6 +70,7 @@ const Application = new Lang.Class({
                 this.quit();
             }));
          this.add_action(quitAction);
+         this.add_accelerator('<Primary>q', 'app.quit', null);
     },
 
     vfunc_startup: function() {


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