# HG changeset patch # User Marcus Lundblad # Date 1241636491 0 # Node ID 6028712210ca7074bdc94f234541b488f870723d # Parent 1a1c12c122c9188700aaa0166333bf3e85eb7cc9 Add a section break between resources in "Get info" diff -r 1a1c12c122c9 -r 6028712210ca ChangeLog --- a/ChangeLog Wed May 06 06:40:24 2009 +0000 +++ b/ChangeLog Wed May 06 19:01:31 2009 +0000 @@ -33,6 +33,7 @@ * Better support for receiving remote users' nicknames. * /affiliate and /role will now list the room members with the specified affiliation/role if possible. (Andrei Mozzhuhin) + * Put section breaks between resources to improve readability Yahoo: * P2P file transfers. (Sulabh Mahajan) diff -r 1a1c12c122c9 -r 6028712210ca libpurple/protocols/jabber/buddy.c --- a/libpurple/protocols/jabber/buddy.c Wed May 06 06:40:24 2009 +0000 +++ b/libpurple/protocols/jabber/buddy.c Wed May 06 19:01:31 2009 +0000 @@ -852,6 +852,13 @@ jbr = resources->data; + /* put a section break between resources, this is not needed if + we are at the first, because one was already added for the vcard + section */ + if (resources != jbi->jb->resources) { + purple_notify_user_info_prepend_section_break(user_info); + } + if(jbr->client.name) { tmp = g_strdup_printf("%s%s%s", jbr->client.name, (jbr->client.version ? " " : ""),