[Telepathy] New Connection Manager

Ralf Kistner ralf.kistner at gmail.com
Wed Dec 17 01:09:19 PST 2008


I got file transfers to work with the example Python script, but I'm still having trouble with Empathy.

The problem is that the 'Send file' option is disabled in the user menu, so it seems like a capability discovery problem.

In the requests interface, I return the following in RequestableChannelClasses for the file transfer channel:

Fixed:
'org.freedesktop.Telepathy.Channel.TargetHandleType': 1
'org.freedesktop.Telepathy.Channel.ChannelType': 'org.freedesktop.Telepathy.Channel.Type.FileTransfer.DRAFT'

Allowed:
'org.freedesktop.Telepathy.Channel.TargetHandle'
'org.freedesktop.Telepathy.Channel.TargetHandleID'
'org.freedesktop.Telepathy.Channel.Type.FileTransfer.DRAFT.Filename'
'org.freedesktop.Telepathy.Channel.Type.FileTransfer.DRAFT.ContentType'
'org.freedesktop.Telepathy.Channel.Type.FileTransfer.DRAFT.Size'
'org.freedesktop.Telepathy.Channel.Type.FileTransfer.DRAFT.Description'
'org.freedesktop.Telepathy.Channel.Type.FileTransfer.DRAFT.InitialOffset'


I also started implementing the capabilities interface, and I return the following for each requested handle:
 
(dbus.UInt32(handle_id), 'org.freedesktop.Telepathy.Channel.Type.ContactList', 3, 0)
(dbus.UInt32(handle_id), 'org.freedesktop.Telepathy.Channel.Type.FileTransfer.DRAFT', 3, 0)
(dbus.UInt32(handle_id), 'org.freedesktop.Telepathy.Channel.Type.Text', 3, 0)

However, this seems to have no effect on what is available in Empathy.

Is there a mistake in my implementation, or do I have additional interfaces I need to implement? What version of the spec does Empathy use? Any help would be appreciated.

Regards,
Ralf Kistner


More information about the Telepathy mailing list