diff options
Diffstat (limited to 'src/sugar/presence/activity.py')
-rw-r--r-- | src/sugar/presence/activity.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sugar/presence/activity.py b/src/sugar/presence/activity.py index aa6b396..a1b7a50 100644 --- a/src/sugar/presence/activity.py +++ b/src/sugar/presence/activity.py @@ -463,11 +463,13 @@ class Activity(gobject.GObject): _logger.debug('%r: leaving', self) self.telepathy_text_chan.Close() + class _BaseCommand(gobject.GObject): __gsignals__ = { 'finished': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, ([object])), } + def __init__(self): gobject.GObject.__init__(self) @@ -532,6 +534,7 @@ class _ShareCommand(_BaseCommand): self._finished = True self.emit('finished', error) + class _JoinCommand(_BaseCommand): def __init__(self, connection, room_handle): _BaseCommand.__init__(self) |