[gnome-documents/wip/lokdocview-rebase: 12/24] Disable edition by default



commit a8451082ebfec219eb7ab88ab41743adebb74d71
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]