[empathy/gnome-2-30] 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/gnome-2-30] Do not display "missing image" for contacts without avatar (#608103)
- Date: Mon, 3 May 2010 08:24:06 +0000 (UTC)
commit 5be5f730f4ddc806d3cb1f4c74312d8de20e31a9
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]