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



commit c9945679c0cb1ff98ed76c60cfcff26c2055189a
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]