[sushi] mainwindow: use the Q keybinding for quitting



commit 01c60e46e5e185f425070eefed489cc826977c39
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon May 9 17:02:28 2011 -0400

    mainwindow: use the Q keybinding for quitting

 src/js/ui/mainWindow.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index a920ed8..448c419 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -131,7 +131,8 @@ MainWindow.prototype = {
         let key = event.get_key_symbol();
 
         if (key == Clutter.KEY_Escape ||
-            key == Clutter.KEY_space)
+            key == Clutter.KEY_space ||
+            key == Clutter.KEY_q)
             this._fadeOutWindow();
 
         if (key == Clutter.KEY_f)



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