aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2009-01-31 01:08:19 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2009-01-31 01:08:19 +0800
commitb762f63176f9cf4382ce948627c1a8ba22428a5b (patch)
tree3c3fafdd37fff03a648ba0df50ea5eb355761ed2
parentae3d11d74ca1519cd75c7fd95388d2bd9a8b99c0 (diff)
downloadgsoc2013-empathy-b762f63176f9cf4382ce948627c1a8ba22428a5b.tar
gsoc2013-empathy-b762f63176f9cf4382ce948627c1a8ba22428a5b.tar.gz
gsoc2013-empathy-b762f63176f9cf4382ce948627c1a8ba22428a5b.tar.bz2
gsoc2013-empathy-b762f63176f9cf4382ce948627c1a8ba22428a5b.tar.lz
gsoc2013-empathy-b762f63176f9cf4382ce948627c1a8ba22428a5b.tar.xz
gsoc2013-empathy-b762f63176f9cf4382ce948627c1a8ba22428a5b.tar.zst
gsoc2013-empathy-b762f63176f9cf4382ce948627c1a8ba22428a5b.zip
Use the avatar for all the events with a contact.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@2299 4ee84921-47dd-4033-b63a-18d7a039a3e4
-rw-r--r--src/empathy-status-icon.c2
1 files changed, 1 insertions, 1 deletions
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);
}