[gnome-documents/wip/lokdocview-rebase: 16/28] Disable edition by default



commit d3f2927d67b18dfd01532b98f7e90263ae7deb62
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Dec 4 20:43:31 2015 +0100

    Disable edition by default

 src/lokview.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/lokview.js b/src/lokview.js
index 1896c9c..88dc6f9 100644
--- a/src/lokview.js
+++ b/src/lokview.js
@@ -165,6 +165,8 @@ const LOKView = new Lang.Class({
         this._progressBar.hide();
         this.set_visible_child_full('view', Gtk.StackTransitionType.NONE);
         this.view.show();
+        // FIXME this doesn't work yet
+        this.view.set_edit(false);
     },
 
     _onLoadFinished: function(manager, doc, docModel) {


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