Implement Activity.get_channels()
This commit is contained in:
parent
043d3b0ee7
commit
9c1275e4c8
@ -410,10 +410,14 @@ class Activity(gobject.GObject):
|
|||||||
- a list of D-Bus object paths representing the channels
|
- a list of D-Bus object paths representing the channels
|
||||||
associated with this activity
|
associated with this activity
|
||||||
"""
|
"""
|
||||||
(bus_name, connection, channels) = self._activity.GetChannels()
|
bus_name = self.telepathy_conn.requested_bus_name
|
||||||
|
connection_path = self.telepathy_conn.object_path
|
||||||
|
channels = [self.telepathy_text_chan.object_path,
|
||||||
|
self.telepathy_tubes_chan.object_path]
|
||||||
|
|
||||||
_logger.debug('%r: bus name is %s, connection is %s, channels are %r',
|
_logger.debug('%r: bus name is %s, connection is %s, channels are %r',
|
||||||
self, bus_name, connection, channels)
|
self, bus_name, connection_path, channels)
|
||||||
return bus_name, connection, channels
|
return bus_name, connection_path, channels
|
||||||
|
|
||||||
# Leaving
|
# Leaving
|
||||||
def __text_channel_closed_cb(self):
|
def __text_channel_closed_cb(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user