Example #1
0
 def OnUnPubSub(self, evt):
     share = Sharing.getShare(self.collection)
     if Sharing.isSharedByMe(share):
         Sharing.unpublish(self.collection)
     else:
         Sharing.unsubscribe(self.collection)
     self.EndModal(True)
Example #2
0
 def onUnpublishSidebarCollectionEvent(self, event):
     collection = self.getSidebarSelectedCollection ()
     if collection is not None:
         Sharing.unpublish(collection)
Example #3
0
 def onUnpublishSidebarCollectionEvent(self, event):
     collection = self.getSidebarSelectedCollection()
     if collection is not None:
         Sharing.unpublish(collection)