comparison src/blist.c @ 8960:7c008d98ef33

[gaim-migrate @ 9734] this was decidedly easy to do committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 17 May 2004 02:40:04 +0000
parents bfc8dea58386
children d494fd1bd90b
comparison
equal deleted inserted replaced
8959:bfc8dea58386 8960:7c008d98ef33
1482 if(((GaimContact*)cnode)->currentsize == 1) 1482 if(((GaimContact*)cnode)->currentsize == 1)
1483 ((GaimGroup*)gnode)->currentsize++; 1483 ((GaimGroup*)gnode)->currentsize++;
1484 ops->update(gaimbuddylist, bnode); 1484 ops->update(gaimbuddylist, bnode);
1485 } 1485 }
1486 } 1486 }
1487 if(recompute) { 1487 if(recompute ||
1488 gaim_blist_node_get_bool(cnode, "show_offline")) {
1488 gaim_contact_compute_priority_buddy((GaimContact*)cnode); 1489 gaim_contact_compute_priority_buddy((GaimContact*)cnode);
1489 ops->update(gaimbuddylist, cnode); 1490 ops->update(gaimbuddylist, cnode);
1490 } 1491 }
1491 } else if(GAIM_BLIST_NODE_IS_CHAT(cnode) && 1492 } else if(GAIM_BLIST_NODE_IS_CHAT(cnode) &&
1492 ((GaimChat*)cnode)->account == account) { 1493 ((GaimChat*)cnode)->account == account) {
2420 print_buddy(file, buddy); 2421 print_buddy(file, buddy);
2421 } 2422 }
2422 } 2423 }
2423 } 2424 }
2424 2425
2426 g_hash_table_foreach(cnode->settings,
2427 blist_print_cnode_settings, file);
2428
2425 fprintf(file, "\t\t\t</contact>\n"); 2429 fprintf(file, "\t\t\t</contact>\n");
2426 } else if(GAIM_BLIST_NODE_IS_CHAT(cnode)) { 2430 } else if(GAIM_BLIST_NODE_IS_CHAT(cnode)) {
2427 GaimChat *chat = (GaimChat *)cnode; 2431 GaimChat *chat = (GaimChat *)cnode;
2428 if(!exp_acct || chat->account == exp_acct) { 2432 if(!exp_acct || chat->account == exp_acct) {
2429 char *acct_name = g_markup_escape_text(chat->account->username, -1); 2433 char *acct_name = g_markup_escape_text(chat->account->username, -1);