Mercurial > pidgin
diff libpurple/protocols/bonjour/bonjour.c @ 31907:99ca503ea087
Rename purple_notify_user_info_add_pair to
purple_notify_user_info_add_pair_html, to be more explicit so hopefully
people don't pass this non-html in the future.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 22 Aug 2011 02:23:28 +0000 |
parents | 3322201b446f |
children | e895aebcb504 3828a61c44da |
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/bonjour.c Mon Aug 22 02:11:36 2011 +0000 +++ b/libpurple/protocols/bonjour/bonjour.c Mon Aug 22 02:23:28 2011 +0000 @@ -375,7 +375,7 @@ if (message != NULL) { /* TODO: Check whether it's correct to call add_pair_html, or if we should be using add_pair_plaintext */ - purple_notify_user_info_add_pair(user_info, _("Message"), message); + purple_notify_user_info_add_pair_html(user_info, _("Message"), message); } if (bb == NULL) { @@ -388,31 +388,31 @@ if (bb->first != NULL && *bb->first != '\0') { /* TODO: Check whether it's correct to call add_pair_html, or if we should be using add_pair_plaintext */ - purple_notify_user_info_add_pair(user_info, _("First name"), bb->first); + purple_notify_user_info_add_pair_html(user_info, _("First name"), bb->first); } if (bb->last != NULL && *bb->last != '\0') { /* TODO: Check whether it's correct to call add_pair_html, or if we should be using add_pair_plaintext */ - purple_notify_user_info_add_pair(user_info, _("Last name"), bb->last); + purple_notify_user_info_add_pair_html(user_info, _("Last name"), bb->last); } } if (bb->email != NULL && *bb->email != '\0') { /* TODO: Check whether it's correct to call add_pair_html, or if we should be using add_pair_plaintext */ - purple_notify_user_info_add_pair(user_info, _("Email"), bb->email); + purple_notify_user_info_add_pair_html(user_info, _("Email"), bb->email); } if (bb->AIM != NULL && *bb->AIM != '\0') { /* TODO: Check whether it's correct to call add_pair_html, or if we should be using add_pair_plaintext */ - purple_notify_user_info_add_pair(user_info, _("AIM Account"), bb->AIM); + purple_notify_user_info_add_pair_html(user_info, _("AIM Account"), bb->AIM); } if (bb->jid != NULL && *bb->jid != '\0') { /* TODO: Check whether it's correct to call add_pair_html, or if we should be using add_pair_plaintext */ - purple_notify_user_info_add_pair(user_info, _("XMPP Account"), bb->jid); + purple_notify_user_info_add_pair_html(user_info, _("XMPP Account"), bb->jid); } }