[gnome-documents] window: always reset the view when changing window mode
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] window: always reset the view when changing window mode
- Date: Wed, 31 Aug 2011 16:25:51 +0000 (UTC)
commit 313969b2ec610b004f2603a6cf4341ee34076a53
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Aug 31 02:16:31 2011 -0400
window: always reset the view when changing window mode
src/mainWindow.js | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 4e5e3ae..ee3812e 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -185,9 +185,6 @@ MainWindow.prototype = {
},
_setWindowMode: function(windowMode) {
- if (windowMode == this._windowMode)
- return;
-
this._windowMode = windowMode;
if (this._windowMode == WindowMode.OVERVIEW)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]