On Tue, Feb 17, 2009 at 19:12, Guillaume Desmottes <guillaume.desmot...@collabora.co.uk> wrote: > Hi guys, > > I just released telepathy-salut 0.3.8 [1]. This version implements the > stable version of the file transfer API (previously, the one implemented > was the DRAFT API). > I also released telepathy-python 0.15.7 [2] generating interface and > constants for FT. > > Sugar should be adapted to use the stable API. As you can see in the > example script [3] changes are really trivial so it shouldn't be a > problem. > > Futur version of Gabble will implement this same interface, so no change > will be needed in Sugar to gain Jabber file transfer support.
I've pushed sugar-jhbuild to use tp-salut 0.3.8 and tp-python 0.15.7, and Simon will push the sugar change shortly: diff --git a/src/jarabe/model/filetransfer.py b/src/jarabe/model/filetransfer.py index c66a19c..997fcc3 100644 --- a/src/jarabe/model/filetransfer.py +++ b/src/jarabe/model/filetransfer.py @@ -41,7 +41,7 @@ FT_STATE_CANCELLED = 5 # FIXME: use constants from tp-python once the spec is undrafted CHANNEL_TYPE_FILE_TRANSFER = \ - 'org.freedesktop.Telepathy.Channel.Type.FileTransfer.DRAFT' + 'org.freedesktop.Telepathy.Channel.Type.FileTransfer' class StreamSplicer(gobject.GObject): _CHUNK_SIZE = 1024 # 1K Regards Morgan _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel