[gnome-books/wip/hadess/gnome-books: 5/10] Remove LibreOfficeKit view



commit 8a375322963b594a57653192d5a6f8decaf6e59d
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jan 24 12:50:28 2019 +0100

    Remove LibreOfficeKit view

 src/documents.js                      |   1 -
 src/embed.js                          |   5 -
 src/lokview.js                        | 248 ----------------------------------
 src/meson.build                       |   1 -
 src/org.gnome.Books.src.gresource.xml |   1 -
 src/windowMode.js                     |   1 -
 6 files changed, 257 deletions(-)
---
diff --git a/src/documents.js b/src/documents.js
index 31c0ed86..8fa8cc82 100644
--- a/src/documents.js
+++ b/src/documents.js
@@ -21,7 +21,6 @@
 
 const EvDocument = imports.gi.EvinceDocument;
 const EvView = imports.gi.EvinceView;
-const LOKView = imports.lokview;
 const EPUBView = imports.epubview;
 const GdkPixbuf = imports.gi.GdkPixbuf;
 const Gio = imports.gi.Gio;
diff --git a/src/embed.js b/src/embed.js
index c207f791..26e6fe21 100644
--- a/src/embed.js
+++ b/src/embed.js
@@ -26,7 +26,6 @@ const Application = imports.application;
 const EPUBView = imports.epubview;
 const Edit = imports.edit;
 const EvinceView = imports.evinceview;
-const LOKView = imports.lokview;
 const Search = imports.search;
 const Overview = imports.overview;
 const WindowMode = imports.windowMode;
@@ -69,9 +68,6 @@ const View = new Lang.Class({
         case WindowMode.WindowMode.PREVIEW_EV:
             constructor = EvinceView.EvinceView;
             break;
-        case WindowMode.WindowMode.PREVIEW_LOK:
-            constructor = LOKView.LOKView;
-            break;
         case WindowMode.WindowMode.PREVIEW_EPUB:
             constructor = EPUBView.EPUBView;
             break;
@@ -111,7 +107,6 @@ const View = new Lang.Class({
             this._stack.visible_child = this._overview;
             break;
         case WindowMode.WindowMode.PREVIEW_EV:
-        case WindowMode.WindowMode.PREVIEW_LOK:
         case WindowMode.WindowMode.PREVIEW_EPUB:
         case WindowMode.WindowMode.EDIT:
             this._createPreview(mode);
diff --git a/src/meson.build b/src/meson.build
index 45a0a9f8..c65feeda 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -50,7 +50,6 @@ resource_data = files(
   'errorBox.js',
   'evinceview.js',
   'fullscreenAction.js',
-  'lokview.js',
   'main.js',
   'mainToolbar.js',
   'mainWindow.js',
diff --git a/src/org.gnome.Books.src.gresource.xml b/src/org.gnome.Books.src.gresource.xml
index 14e6da7c..434a9558 100644
--- a/src/org.gnome.Books.src.gresource.xml
+++ b/src/org.gnome.Books.src.gresource.xml
@@ -5,7 +5,6 @@
     <file>changeMonitor.js</file>
     <file>documents.js</file>
     <file>edit.js</file>
-    <file>lokview.js</file>
     <file>epubview.js</file>
     <file>embed.js</file>
     <file>errorBox.js</file>
diff --git a/src/windowMode.js b/src/windowMode.js
index 0bb96902..ccd4cf8a 100644
--- a/src/windowMode.js
+++ b/src/windowMode.js
@@ -26,7 +26,6 @@ var WindowMode = {
     NONE: 0,
     DOCUMENTS: 1,
     PREVIEW_EV: 2,
-    PREVIEW_LOK: 3,
     PREVIEW_EPUB: 4,
     EDIT: 5,
     COLLECTIONS: 6,


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