[Telepathy] Approving a client
Eoin O'Connor
Eoin.O-Connor at ucdconnect.ie
Sun Apr 24 10:04:19 PDT 2011
Im trying to write a client that takes control of a channel. The approver
method gets called, and prints, but none of the three commented out lines
will work, they all just hang. What am i doing wrong?. The whole file is
here. <http://pastebin.com/3RD9zi5M>
def AddDispatchOperation(self, channels, dispatch, properties):
print "conect to signal on :" +dispatch
#dispatch[CHANNEL_DISPATCH_OPERATION].HandleWith('org.freedesktop.Telepathy.Client.ExampleHandler')
#dispatch[CHANNEL_DISPATCH_OPERATION].connect_to_signal('ChannelLost',self.channel_lost)
#dispatch[CHANNEL_DISPATCH_OPERATION].Claim()
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/telepathy/attachments/20110424/f3762ef6/attachment.htm>
More information about the telepathy
mailing list