[gnome-documents] main-window: always exit preview when pressing escape
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] main-window: always exit preview when pressing escape
- Date: Mon, 30 Apr 2012 22:02:33 +0000 (UTC)
commit 0cdcd03f93f0006ccf0f9cd4d1b1ebeef1bf735b
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Apr 18 18:36:30 2012 -0400
main-window: always exit preview when pressing escape
We already have other keybindings for fullscreen; don't mix the two.
src/mainWindow.js | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 2736759..c85e956 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -189,11 +189,6 @@ MainWindow.prototype = {
return true;
}
- if (keyval == Gdk.KEY_Escape && fullscreen) {
- Global.modeController.setFullscreen(false);
- return true;
- }
-
if (keyval == Gdk.KEY_Escape ||
keyval == Gdk.KEY_Back) {
Global.modeController.setWindowMode(WindowMode.WindowMode.OVERVIEW);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]