[gnome-documents/wip/lokdocview-rebase: 25/29] Support lokview in _restoreLastPage



commit 88dc18ba0c7ae8b15e749a3e1a2f1a9e9e8c8131
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]