[gnome-documents/wip/lokdocview-rebase: 13/22] LO_PATH is not needed anymore
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/wip/lokdocview-rebase: 13/22] LO_PATH is not needed anymore
- Date: Mon, 4 Jan 2016 12:43:00 +0000 (UTC)
commit 3b2b2fc7922bd411665497a17dd33dedd1d3a883
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 0790f81..7865cdb 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',
@@ -187,7 +184,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]