comparison libpurple/protocols/jabber/buddy.c @ 26912:6028712210ca

Add a section break between resources in "Get info"
author Marcus Lundblad <ml@update.uu.se>
date Wed, 06 May 2009 19:01:31 +0000
parents 3912f55a1633
children 9ce0c5bc922c
comparison
equal deleted inserted replaced
26903:1a1c12c122c9 26912:6028712210ca
850 char *purdy = NULL; 850 char *purdy = NULL;
851 const char *status_name = NULL; 851 const char *status_name = NULL;
852 852
853 jbr = resources->data; 853 jbr = resources->data;
854 854
855 /* put a section break between resources, this is not needed if
856 we are at the first, because one was already added for the vcard
857 section */
858 if (resources != jbi->jb->resources) {
859 purple_notify_user_info_prepend_section_break(user_info);
860 }
861
855 if(jbr->client.name) { 862 if(jbr->client.name) {
856 tmp = g_strdup_printf("%s%s%s", jbr->client.name, 863 tmp = g_strdup_printf("%s%s%s", jbr->client.name,
857 (jbr->client.version ? " " : ""), 864 (jbr->client.version ? " " : ""),
858 (jbr->client.version ? jbr->client.version : "")); 865 (jbr->client.version ? jbr->client.version : ""));
859 purple_notify_user_info_prepend_pair(user_info, 866 purple_notify_user_info_prepend_pair(user_info,