| 6412 { |
6412 { |
| 6413 GList *l = NULL; |
6413 GList *l = NULL; |
| 6414 if ((purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_IM) && |
6414 if ((purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_IM) && |
| 6415 (gtkconv->u.im->anim)) |
6415 (gtkconv->u.im->anim)) |
| 6416 { |
6416 { |
| |
6417 PurpleBuddy *buddy = purple_find_buddy(conv->account, conv->name); |
| 6417 window_icon = |
6418 window_icon = |
| 6418 gdk_pixbuf_animation_get_static_image(gtkconv->u.im->anim); |
6419 gdk_pixbuf_animation_get_static_image(gtkconv->u.im->anim); |
| |
6420 |
| |
6421 if (buddy && !PURPLE_BUDDY_IS_ONLINE(buddy)) |
| |
6422 gdk_pixbuf_saturate_and_pixelate(window_icon, window_icon, 0.0, FALSE); |
| |
6423 |
| 6419 g_object_ref(window_icon); |
6424 g_object_ref(window_icon); |
| 6420 l = g_list_append(l, window_icon); |
6425 l = g_list_append(l, window_icon); |
| 6421 } else { |
6426 } else { |
| 6422 l = pidgin_conv_get_tab_icons(conv); |
6427 l = pidgin_conv_get_tab_icons(conv); |
| 6423 } |
6428 } |