comparison finch/gntblist.c @ 32810:d288f5215a9a

Add purple_contact_get_contact_size().
author andrew.victor@mxit.com
date Mon, 31 Oct 2011 20:35:39 +0000
parents cd1d9e04c587
children 33f5c8ac8f97
comparison
equal deleted inserted replaced
32809:76096c42f558 32810:d288f5215a9a
1559 const char *name, *sec = NULL; 1559 const char *name, *sec = NULL;
1560 1560
1561 if (PURPLE_BLIST_NODE_IS_CONTACT(node)) { 1561 if (PURPLE_BLIST_NODE_IS_CONTACT(node)) {
1562 PurpleContact *c = (PurpleContact*)node; 1562 PurpleContact *c = (PurpleContact*)node;
1563 name = purple_contact_get_alias(c); 1563 name = purple_contact_get_alias(c);
1564 if (c->totalsize > 1) 1564 if (purple_contact_get_contact_size(c, TRUE) > 1)
1565 sec = _("Removing this contact will also remove all the buddies in the contact"); 1565 sec = _("Removing this contact will also remove all the buddies in the contact");
1566 } else if (PURPLE_BLIST_NODE_IS_BUDDY(node)) { 1566 } else if (PURPLE_BLIST_NODE_IS_BUDDY(node)) {
1567 name = purple_buddy_get_name((PurpleBuddy*)node); 1567 name = purple_buddy_get_name((PurpleBuddy*)node);
1568 account = purple_buddy_get_account((PurpleBuddy*)node); 1568 account = purple_buddy_get_account((PurpleBuddy*)node);
1569 } else if (PURPLE_BLIST_NODE_IS_CHAT(node)) { 1569 } else if (PURPLE_BLIST_NODE_IS_CHAT(node)) {