Mercurial > pidgin.yaz
comparison pidgin/gtkconv.c @ 20183:dd4c3d712835
applied changes from 9d5a2f820265e4631d68d0f12a2def66acf36e3d
through 5044554ca98e39fb2600537940a00d153b4c40b2
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 28 Sep 2007 14:48:15 +0000 |
parents | a2b4eac83902 |
children | da6a1320d3e1 |
comparison
equal
deleted
inserted
replaced
20182:4be39781803b | 20183:dd4c3d712835 |
---|---|
6347 { | 6347 { |
6348 GList *l = NULL; | 6348 GList *l = NULL; |
6349 if ((purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_IM) && | 6349 if ((purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_IM) && |
6350 (gtkconv->u.im->anim)) | 6350 (gtkconv->u.im->anim)) |
6351 { | 6351 { |
6352 PurpleBuddy *buddy = purple_find_buddy(conv->account, conv->name); | |
6352 window_icon = | 6353 window_icon = |
6353 gdk_pixbuf_animation_get_static_image(gtkconv->u.im->anim); | 6354 gdk_pixbuf_animation_get_static_image(gtkconv->u.im->anim); |
6355 | |
6356 if (buddy && !PURPLE_BUDDY_IS_ONLINE(buddy)) | |
6357 gdk_pixbuf_saturate_and_pixelate(window_icon, window_icon, 0.0, FALSE); | |
6358 | |
6354 g_object_ref(window_icon); | 6359 g_object_ref(window_icon); |
6355 l = g_list_append(l, window_icon); | 6360 l = g_list_append(l, window_icon); |
6356 } else { | 6361 } else { |
6357 l = pidgin_conv_get_tab_icons(conv); | 6362 l = pidgin_conv_get_tab_icons(conv); |
6358 } | 6363 } |