[sushi] Set F11 as a shortcut to fullscreen. Closes: bgo#670580
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] Set F11 as a shortcut to fullscreen. Closes: bgo#670580
- Date: Tue, 28 Feb 2012 06:48:49 +0000 (UTC)
commit d8c097af098b1efbe4b3edcc564e2a9fb65fa999
Author: Vadim Rutkovsky <roignac gmail com>
Date: Tue Feb 28 09:48:04 2012 +0300
Set F11 as a shortcut to fullscreen. Closes: bgo#670580
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 26b246e..9837704 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -168,7 +168,8 @@ MainWindow.prototype = {
key == Clutter.KEY_q)
this._fadeOutWindow();
- if (key == Clutter.KEY_f)
+ if (key == Clutter.KEY_f ||
+ key == Clutter.KEY_F11)
this.toggleFullScreen();
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]