[Bug 20035] Avatar cache reference implementation

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 27 01:15:35 CET 2009


http://bugs.freedesktop.org/show_bug.cgi?id=20035





--- Comment #4 from Danielle Madeley <danielle.madeley at collabora.co.uk>  2009-11-26 16:15:35 PST ---
So, just to throw my thoughts in:

I think the API works, except for the TpContact::avatar-retrieved signal. This
returns the avatar data in a highly unsuitable way, requiring the use of a
GdkPixbufLoader and about 5 lines of code to load a GdkPixbuf from the
contents.

The signal should instead pass a GFile for the file on disk, or a GInputStream
so that gdk_pixbuf_new_from_file, or gdk_pixbuf_new_from_stream can be used.
This will make the data a lot easier to consume.

Arguably, since things like Adium themes in Empathy require the avatar as a
filename, we should expose it as a filename here.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list