From fe6c5a51bad8f0e4619254eb7c1d7e40a436acd8 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 23 Mar 2012 11:56:52 +0100 Subject: Update avatar chooser's account if EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT is not set We can't rely on the account chooser to do it so we have to do it manually. https://bugzilla.gnome.org/show_bug.cgi?id=672633 --- libempathy-gtk/empathy-contact-widget.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libempathy-gtk/empathy-contact-widget.c') diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c index 28b4adb60..1bfb38749 100644 --- a/libempathy-gtk/empathy-contact-widget.c +++ b/libempathy-gtk/empathy-contact-widget.c @@ -1406,6 +1406,9 @@ contact_widget_contact_update (EmpathyContactWidget *information) } else { + empathy_avatar_chooser_set_account ( + EMPATHY_AVATAR_CHOOSER (information->widget_avatar), account); + if ((information->flags & EMPATHY_CONTACT_WIDGET_NO_ACCOUNT) == 0) { if (account) -- cgit v1.2.3