[Bug 52938] TpAccount is missing an avatar-changed signal

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 23 11:44:02 CEST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=52938

--- Comment #1 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> ---
I'd like to fix this to simplify Empathy code before porting to next.

My idea was to:
- add TP_ACCOUNT_FEATURE_AVATAR, when preparing this feature connect the
'AvatarChanged' signal and fetch the initial avatar
- Expose the avatar as a TpAccount property
- Fire a property change notification when the avatar is changed

Question: how should we expose the avatar on the TpAccount?
- a (GFile, const gchar *mime_type) as TpContact does (2 properties)? But then
we should write the file to disk first.
- a (GArray, const gchar *mime_type) to stay coherent with
tp_account_get_avatar_finish()?
- a GVariant packing these 2 values into one?
- something else?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list