empathy r2299 - trunk/src



Author: xclaesse
Date: Fri Jan 30 17:08:19 2009
New Revision: 2299
URL: http://svn.gnome.org/viewvc/empathy?rev=2299&view=rev

Log:
Use the avatar for all the events with a contact.

Modified:
   trunk/src/empathy-status-icon.c

Modified: trunk/src/empathy-status-icon.c
==============================================================================
--- trunk/src/empathy-status-icon.c	(original)
+++ trunk/src/empathy-status-icon.c	Fri Jan 30 17:08:19 2009
@@ -122,7 +122,7 @@
 		} 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);
 			}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]