Mercurial > pidgin.yaz
changeset 20183:dd4c3d712835
applied changes from 9d5a2f820265e4631d68d0f12a2def66acf36e3d
through 5044554ca98e39fb2600537940a00d153b4c40b2
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 28 Sep 2007 14:48:15 +0000 |
parents | 4be39781803b |
children | 009b65a963a6 |
files | pidgin/gtkconv.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Fri Sep 28 14:45:41 2007 +0000 +++ b/pidgin/gtkconv.c Fri Sep 28 14:48:15 2007 +0000 @@ -6349,8 +6349,13 @@ if ((purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_IM) && (gtkconv->u.im->anim)) { + PurpleBuddy *buddy = purple_find_buddy(conv->account, conv->name); window_icon = gdk_pixbuf_animation_get_static_image(gtkconv->u.im->anim); + + if (buddy && !PURPLE_BUDDY_IS_ONLINE(buddy)) + gdk_pixbuf_saturate_and_pixelate(window_icon, window_icon, 0.0, FALSE); + g_object_ref(window_icon); l = g_list_append(l, window_icon); } else {