comparison finch/gntblist.c @ 22198:a07c5798467f

merge of '7e6f3aa974ad4672e16bd0ac3839d416c87160f1' and 'eeef57ab07e5cf7182b765f603a8f2a771081f74'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 25 Jan 2008 02:08:05 +0000
parents 1e103e1b845f
children 6bb29f94862c
comparison
equal deleted inserted replaced
22197:a67c0aa4db9c 22198:a07c5798467f
165 return FALSE; /* The account is disconnected. Do not show */ 165 return FALSE; /* The account is disconnected. Do not show */
166 if (offline) 166 if (offline)
167 return TRUE; /* We want to see offline buddies too */ 167 return TRUE; /* We want to see offline buddies too */
168 if (fnode && fnode->signed_timer) 168 if (fnode && fnode->signed_timer)
169 return TRUE; /* Show if the buddy just signed off */ 169 return TRUE; /* Show if the buddy just signed off */
170 if (purple_blist_node_get_bool(node, "show_offline"))
171 return TRUE;
170 } else if (PURPLE_BLIST_NODE_IS_CONTACT(node)) { 172 } else if (PURPLE_BLIST_NODE_IS_CONTACT(node)) {
171 PurpleBlistNode *nd; 173 PurpleBlistNode *nd;
172 for (nd = purple_blist_node_get_first_child(node); 174 for (nd = purple_blist_node_get_first_child(node);
173 nd; nd = purple_blist_node_get_sibling_next(nd)) { 175 nd; nd = purple_blist_node_get_sibling_next(nd)) {
174 if (default_can_add_node(nd)) 176 if (default_can_add_node(nd))