[gnome-documents] main-window: clear the active document when using back keybinding
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] main-window: clear the active document when using back keybinding
- Date: Tue, 17 Jul 2012 23:39:26 +0000 (UTC)
commit afc44e856a5c3e2e4726b9198c07ff322b921d87
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Jul 17 18:25:41 2012 -0400
main-window: clear the active document when using back keybinding
src/mainWindow.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 1a62164..7125a0b 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -158,7 +158,7 @@ const MainWindow = new Lang.Class({
(direction == Gtk.TextDirection.RTL && keyval == Gdk.KEY_Right)) ||
keyval == Gdk.KEY_BackSpace ||
keyval == Gdk.KEY_Back) {
- Global.modeController.setWindowMode(WindowMode.WindowMode.OVERVIEW);
+ Global.documentManager.setActiveItem(null);
return true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]