[empathy] Do not display "missing image" for contacts without avatar	(#608103)
- From: Frederic Peters <fpeters src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [empathy] Do not display "missing image" for contacts without avatar	(#608103)
 
- Date: Mon,  3 May 2010 08:22:03 +0000 (UTC)
 
commit 875d4b68230acf60788d7cc40342dbb931c718e4
Author: Frédéric Péters <fpeters 0d be>
Date:   Sun May 2 17:54:11 2010 +0200
    Do not display "missing image" for contacts without avatar (#608103)
 libempathy-gtk/empathy-avatar-image.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/libempathy-gtk/empathy-avatar-image.c b/libempathy-gtk/empathy-avatar-image.c
index ef4185a..9781855 100644
--- a/libempathy-gtk/empathy-avatar-image.c
+++ b/libempathy-gtk/empathy-avatar-image.c
@@ -313,9 +313,7 @@ empathy_avatar_image_set (EmpathyAvatarImage *avatar_image,
 	}
 
 	if (!priv->pixbuf) {
-		gtk_image_set_from_icon_name (GTK_IMAGE (priv->image),
-					      "stock_person",
-					      GTK_ICON_SIZE_DIALOG);
+		gtk_image_clear (GTK_IMAGE (priv->image));
 		return;
 	}
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]