comparison pidgin/gtkconv.c @ 20078:8c33d2e73060

merge of '13c22e794b21817fd09887f5a0d20def762f5203' and '8f765c8b1620e8ac488e2be4e987153c51ba2f0a'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 15 Sep 2007 23:40:00 +0000
parents fee0eea83e58 e80e40e313ed
children 539d042c8fc6
comparison
equal deleted inserted replaced
20077:fee0eea83e58 20078:8c33d2e73060
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 }