[gnome-documents/wip/lokdocview-rebase: 8/21] 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: 8/21] LO_PATH is not needed anymore
- Date: Mon, 4 Jan 2016 13:01:50 +0000 (UTC)
commit 30502637c403f3581f1ad505b400b3fa4a4d03a7
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 d765fdd..bd4c08c 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'
-
function isAvailable() {
return (LOKDocView != undefined);
}
@@ -151,7 +148,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]