applied changes from 9d5a2f820265e4631d68d0f12a2def66acf36e3d release-2.2.1

Fri, 28 Sep 2007 14:48:15 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Fri, 28 Sep 2007 14:48:15 +0000
branch
release-2.2.1
changeset 20078
bfd147261a38
parent 20077
dad85816359f
child 20079
454a824d5285

applied changes from 9d5a2f820265e4631d68d0f12a2def66acf36e3d
through 5044554ca98e39fb2600537940a00d153b4c40b2

pidgin/gtkconv.c file | annotate | diff | comparison | revisions
--- 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 {

mercurial