Clear share signal ID after disconnecting it
This commit is contained in:
parent
66bbe56df9
commit
99737f8273
@ -103,6 +103,7 @@ class Activity(Window, gtk.Container):
|
|||||||
|
|
||||||
def _share_cb(self, ps, success, service, err):
|
def _share_cb(self, ps, success, service, err):
|
||||||
self._pservice.disconnect(self._share_sigid)
|
self._pservice.disconnect(self._share_sigid)
|
||||||
|
self._share_sigid = None
|
||||||
if success:
|
if success:
|
||||||
logging.debug('Share of activity %s successful.' % self.get_id())
|
logging.debug('Share of activity %s successful.' % self.get_id())
|
||||||
self._service = service
|
self._service = service
|
||||||
|
Loading…
Reference in New Issue
Block a user