def doDelete(self, returnValue = None): cur = self["config"].getCurrent() if cur: returnValue = cur[1] print 'returnValue',returnValue self.applyConfigRef = self.session.openWithCallback(self.applyConfigfinishedCB, MessageBox, _("Please wait while removing your network mount..."), type = MessageBox.TYPE_INFO, enable_input = False) iAutoMount.removeMount(returnValue,self.removeDataAvail)
def delete(self, returnValue=None): cur = self["config"].getCurrent() if cur: returnValue = cur[1] self.applyConfigRef = self.session.openWithCallback( self._onDeleteFinished, MessageBox, _("Please wait while removing your network mount..."), type=MessageBox.TYPE_INFO, enable_input=False) iAutoMount.removeMount(iAutoMount.MOUNT_BASE + returnValue, self._onMountRemoved)
def delete(self, returnValue = None): cur = self["config"].getCurrent() if cur: returnValue = cur[1] self.applyConfigRef = self.session.openWithCallback(self._onDeleteFinished, MessageBox, _("Please wait while removing your network mount..."), type = MessageBox.TYPE_INFO, enable_input = False) iAutoMount.removeMount(iAutoMount.MOUNT_BASE + returnValue, self._onMountRemoved)