[gnome-documents] documents: Google collections aren't editable



commit ce5f1a674f1ab85ba0126b20d3703becb353ca3d
Author: Alessandro Bono <shadow openaliasbox org>
Date:   Wed Aug 19 16:00:00 2015 +0200

    documents: Google collections aren't editable
    
    https://bugzilla.gnome.org/show_bug.cgi?id=726450

 src/documents.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/documents.js b/src/documents.js
index 75f9f08..a350a42 100644
--- a/src/documents.js
+++ b/src/documents.js
@@ -920,7 +920,7 @@ const GoogleDocument = new Lang.Class({
     },
 
     canEdit: function() {
-        return true;
+        return !this.collection;
     },
 
     canShare: function() {


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