comparison pidgin/gtkconv.c @ 23848:ca3dc911bf52

A patch from nowic to re-colorize the greyed out icon when a buddy signs on again and desaturate the icon when starting a conversation with an offline buddy. Fixes #3590.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 18 Aug 2008 05:55:27 +0000
parents 3c9711cf1a76
children 2f588ade5236 e22bcca9f2b2
comparison
equal deleted inserted replaced
23847:48958ca5abad 23848:ca3dc911bf52
7368 7368
7369 gtkconv = get_gtkconv_with_contact(purple_buddy_get_contact(buddy)); 7369 gtkconv = get_gtkconv_with_contact(purple_buddy_get_contact(buddy));
7370 if (gtkconv) 7370 if (gtkconv)
7371 { 7371 {
7372 conv = gtkconv->active_conv; 7372 conv = gtkconv->active_conv;
7373 pidgin_conv_update_fields(conv, PIDGIN_CONV_TAB_ICON | PIDGIN_CONV_COLORIZE_TITLE); 7373 pidgin_conv_update_fields(conv, PIDGIN_CONV_TAB_ICON
7374 | PIDGIN_CONV_COLORIZE_TITLE
7375 | PIDGIN_CONV_BUDDY_ICON);
7374 if ((purple_status_is_online(old) ^ purple_status_is_online(newstatus)) != 0) 7376 if ((purple_status_is_online(old) ^ purple_status_is_online(newstatus)) != 0)
7375 pidgin_conv_update_fields(conv, PIDGIN_CONV_MENU); 7377 pidgin_conv_update_fields(conv, PIDGIN_CONV_MENU);
7376 } 7378 }
7377 7379
7378 /* In case a conversation is started after the buddy has signed-on/off */ 7380 /* In case a conversation is started after the buddy has signed-on/off */