[gnome-documents/wip/lokdocview-rebase: 24/29] LO_PATH is not needed anymore



commit d39d4afc3f42c155d98e734afbe5d94448a9a630
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Dec 10 13:36:04 2015 +0100

    LO_PATH is not needed anymore

 src/lokview.js |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/lokview.js b/src/lokview.js
index f97f28e..183c747 100644
--- a/src/lokview.js
+++ b/src/lokview.js
@@ -49,9 +49,6 @@ const View = imports.view;
 const WindowMode = imports.windowMode;
 const Documents = imports.documents;
 
-// FIXME: https://bugs.documentfoundation.org/show_bug.cgi?id=96247
-const LO_PATH = '/usr/lib64/libreoffice/program'
-
 const openDocumentFormats = ['application/vnd.oasis.opendocument.text',
                              'application/vnd.oasis.opendocument.text-template',
                              'application/vnd.oasis.opendocument.text-web',
@@ -200,7 +197,7 @@ const LOKView = new Lang.Class({
 
     _createView: function() {
         if (isAvailable()) {
-            this.view = LOKDocView.View.new(LO_PATH, null, null);
+            this.view = LOKDocView.View.new(null, null, null);
             this._sw.add(this.view);
             this.view.connect('load-changed', Lang.bind(this, this._onProgressChanged));
         }


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