aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:08:19 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:08:19 +0800
commit62fe3985b8fdca2ccc40030a46def1c73ec1430f (patch)
tree3c3fafdd37fff03a648ba0df50ea5eb355761ed2 /src
parentbd36eff5533cf4021316a12dd9608dd21392cd1a (diff)
downloadgsoc2013-empathy-62fe3985b8fdca2ccc40030a46def1c73ec1430f.tar
gsoc2013-empathy-62fe3985b8fdca2ccc40030a46def1c73ec1430f.tar.gz
gsoc2013-empathy-62fe3985b8fdca2ccc40030a46def1c73ec1430f.tar.bz2
gsoc2013-empathy-62fe3985b8fdca2ccc40030a46def1c73ec1430f.tar.lz
gsoc2013-empathy-62fe3985b8fdca2ccc40030a46def1c73ec1430f.tar.xz
gsoc2013-empathy-62fe3985b8fdca2ccc40030a46def1c73ec1430f.tar.zst
gsoc2013-empathy-62fe3985b8fdca2ccc40030a46def1c73ec1430f.zip
Use the avatar for all the events with a contact.
svn path=/trunk/; revision=2299
Diffstat (limited to 'src')
-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);
}