After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 613043 - Should use Account.Interface.Avatar to set avatar
Should use Account.Interface.Avatar to set avatar
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: Accounts
2.29.x
Other Linux
: Normal enhancement
: ---
Assigned To: empathy-maint
Depends on:
Blocks: 612444
 
 
Reported: 2010-03-16 13:59 UTC by Guillaume Desmottes
Modified: 2011-08-29 10:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
http://git.collabora.co.uk/?p=user/cassidy/empathy;a=shortlog;h=refs/heads/set-avatar-613043 (4.77 KB, patch)
2010-04-01 12:31 UTC, Guillaume Desmottes
rejected Details | Review
http://git.collabora.co.uk/?p=user/cassidy/empathy;a=shortlog;h=refs/heads/set-avatar-613043 (5.10 KB, patch)
2010-04-06 08:53 UTC, Guillaume Desmottes
accepted-commit_now Details | Review

Description Guillaume Desmottes 2010-03-16 13:59:53 UTC
Empathy should use http://telepathy.freedesktop.org/spec/org.freedesktop.Telepathy.Account.Interface.Avatar.html
rather than setting avatars on the Connection object.
Comment 1 Guillaume Desmottes 2010-03-16 14:00:12 UTC
<smcv> cassidy: the advantage of going via MC is that you can set the avatar while offline and it'll be uploaded later
<smcv> cassidy: (if it meets the requirements, which is currently impossible to verify - Protocol objects will fix that)
Comment 2 Guillaume Desmottes 2010-04-01 12:31:20 UTC
Created attachment 157689 [details] [review]
http://git.collabora.co.uk/?p=user/cassidy/empathy;a=shortlog;h=refs/heads/set-avatar-613043

 libempathy-gtk/empathy-contact-widget.c |   32 +++++++++++++++-
 libempathy/empathy-tp-contact-factory.c |   61 -------------------------------
 libempathy/empathy-tp-contact-factory.h |    4 --
 3 files changed, 30 insertions(+), 67 deletions(-)
Comment 3 Guillaume Desmottes 2010-04-01 12:31:54 UTC
This depends on http://bugs.freedesktop.org/show_bug.cgi?id=27397
Comment 4 Guillaume Desmottes 2010-04-06 08:53:20 UTC
Created attachment 158028 [details] [review]
http://git.collabora.co.uk/?p=user/cassidy/empathy;a=shortlog;h=refs/heads/set-avatar-613043

 configure.ac                            |    2 +-
 libempathy-gtk/empathy-contact-widget.c |   32 +++++++++++++++-
 libempathy/empathy-tp-contact-factory.c |   61 -------------------------------
 libempathy/empathy-tp-contact-factory.h |    4 --
 4 files changed, 31 insertions(+), 68 deletions(-)
Comment 5 Cosimo Cecchi 2010-04-06 15:11:20 UTC
Review of attachment 158028 [details] [review]:

Looks good to me, but there are some more FIXMEs in empathy-tp-contact-factory.c about moving other avatar-related code away from it. How do they relate to the new API introduced in tp-glib?
Comment 6 Guillaume Desmottes 2010-04-06 15:56:20 UTC
Those are related to bug #579812.

I merged the branch, thanks!

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.