]> git.0d.be Git - empathy.git/commitdiff
Use the avatar for all the events with a contact.
authorXavier Claessens <xclaesse@src.gnome.org>
Fri, 30 Jan 2009 17:08:19 +0000 (17:08 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 30 Jan 2009 17:08:19 +0000 (17:08 +0000)
svn path=/trunk/; revision=2299

src/empathy-status-icon.c

index 07f8abf85daf532d9780599d3fb9ccbaa4a2a12c..5d04e4b57f69ee7366231f8f0e75cbca37295ac6 100644 (file)
@@ -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);
                        }