[gnome-documents/wip/lokdocview-rebase: 18/22] Support lokview in _restoreLastPage



commit 2c3e5f48ed3c84e9a45ae2c0611c79f0c5128cd9
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Dec 10 16:23:05 2015 +0100

    Support lokview in _restoreLastPage

 src/embed.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/embed.js b/src/embed.js
index a7486f8..75a4da6 100644
--- a/src/embed.js
+++ b/src/embed.js
@@ -193,6 +193,9 @@ const Embed = new Lang.Class({
         case WindowMode.WindowMode.SEARCH:
             page = 'search';
             break;
+        case WindowMode.WindowMode.PREVIEW_LOK:
+            page = 'preview-lok';
+            break;
         default:
             throw(new Error('Not handled'));
             break;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]