From 62fe3985b8fdca2ccc40030a46def1c73ec1430f Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 30 Jan 2009 17:08:19 +0000 Subject: Use the avatar for all the events with a contact. svn path=/trunk/; revision=2299 --- src/empathy-status-icon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c index 07f8abf85..5d04e4b57 100644 --- a/src/empathy-status-icon.c +++ b/src/empathy-status-icon.c @@ -122,7 +122,7 @@ status_icon_update_notification (EmpathyStatusIcon *icon) } else { GdkPixbuf *pixbuf = NULL; - if (g_strcmp0 (priv->event->icon_name, EMPATHY_IMAGE_NEW_MESSAGE) == 0) { + if (priv->event->contact != NULL) { pixbuf = empathy_pixbuf_avatar_from_contact_scaled (priv->event->contact, 48, 48); } -- cgit v1.2.3