[sushi] mainwindow: add keybinding for fullscreen
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] mainwindow: add keybinding for fullscreen
- Date: Fri, 29 Apr 2011 22:17:39 +0000 (UTC)
commit c839b94018c96ceb1a7699039c69a7a7a7f35ad3
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Apr 29 18:15:41 2011 -0400
mainwindow: add keybinding for fullscreen
src/js/ui/mainWindow.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index 68f91ba..ee583f6 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -130,6 +130,9 @@ MainWindow.prototype = {
if (key == Clutter.KEY_Escape ||
key == Clutter.KEY_space)
this._fadeOutWindow();
+
+ if (key == Clutter.KEY_f)
+ this.toggleFullScreen();
},
_onButtonPressEvent : function(actor, event) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]