diff options
author | Morgan Collett <morgan.collett@gmail.com> | 2007-10-02 09:56:36 (GMT) |
---|---|---|
committer | Morgan Collett <morgan.collett@gmail.com> | 2007-10-15 16:15:48 (GMT) |
commit | 4853beb4fbd0e618007649ffa1dc2a4b059af2ac (patch) | |
tree | a44e8ceb9f20de53065c83ab1fff648ab4a9495e | |
parent | 10f2932b5a6512bd435cbb03af07a2f3e435e3f4 (diff) |
Document get_channels
-rw-r--r-- | sugar/presence/activity.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sugar/presence/activity.py b/sugar/presence/activity.py index 8e536af..ad5c4ca 100644 --- a/sugar/presence/activity.py +++ b/sugar/presence/activity.py @@ -244,9 +244,13 @@ class Activity(gobject.GObject): def get_channels(self): """Retrieve communications channel descriptions for the activity - Returns (bus name, connection, channels) for the activity - - XXX what are those values? + Returns a tuple containing: + - the D-Bus well-known service name of the connection + (FIXME: this is redundant; in Telepathy it can be derived + from that of the connection) + - the D-Bus object path of the connection + - a list of D-Bus object paths representing the channels + associated with this activity """ (bus_name, connection, channels) = self._activity.GetChannels() return bus_name, connection, channels |