[empathy] Update avatar chooser's account if EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT is not set
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Update avatar chooser's account if EMPATHY_CONTACT_WIDGET_EDIT_ACCOUNT is not set
- Date: Mon, 26 Mar 2012 06:45:12 +0000 (UTC)
commit fe6c5a51bad8f0e4619254eb7c1d7e40a436acd8
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Mar 23 11:56:52 2012 +0100
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 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 28b4adb..1bfb387 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]