Blame SOURCES/gnome-documents-prevent-nested-collections.patch

46f955
From 43217734c4b01e894bd1d4efa19d9a07bbb2807c Mon Sep 17 00:00:00 2001
46f955
From: Debarshi Ray <debarshir@gnome.org>
46f955
Date: Wed, 15 Jun 2016 12:19:49 +0200
46f955
Subject: [PATCH] selections: Prevent nested collections
46f955
46f955
https://bugzilla.redhat.com/show_bug.cgi?id=958690
46f955
---
46f955
 src/selections.js | 1 +
46f955
 1 file changed, 1 insertion(+)
46f955
46f955
diff --git a/src/selections.js b/src/selections.js
46f955
index 7c1b47d9983d..cec718b9a793 100644
46f955
--- a/src/selections.js
46f955
+++ b/src/selections.js
46f955
@@ -841,6 +841,7 @@ const SelectionToolbar = new Lang.Class({
46f955
                     showShare = false;
46f955
 
46f955
                 showTrash &= doc.canTrash();
46f955
+                showCollection &= !doc.collection;
46f955
                 showPrint &= !doc.collection;
46f955
             }));
46f955
 
46f955
-- 
46f955
2.5.5
46f955