Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
authorMorgan Collett <morgan.collett@gmail.com>2007-08-21 11:08:33 (GMT)
committer Morgan Collett <morgan.collett@gmail.com>2007-08-21 11:08:33 (GMT)
commitd09b8d3ea43bb877c39e0f2e169cf3d885521ff2 (patch)
treee1360afa0b4607fb2a27c7feb6dcbfc38a06efd0 /sugar
parentcfb054124936cd8256703ed172a9417b7fe3811e (diff)
Document _share_activity_cb
Diffstat (limited to 'sugar')
-rw-r--r--sugar/presence/presenceservice.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/sugar/presence/presenceservice.py b/sugar/presence/presenceservice.py
index 4a92dd3..81835fc 100644
--- a/sugar/presence/presenceservice.py
+++ b/sugar/presence/presenceservice.py
@@ -357,7 +357,11 @@ class PresenceService(gobject.GObject):
return self._new_object(owner_op)
def _share_activity_cb(self, activity, op):
- """Notify with GObject event of successful sharing of activity"""
+ """Notify with GObject event of successful sharing of activity
+
+ op -- full dbus path of the new object, must be
+ prefixed with either of _PS_BUDDY_OP or _PS_ACTIVITY_OP
+ """
psact = self._new_object(op)
psact._joined = True
self.emit("activity-shared", True, psact, None)