changeset 32373:e1b70ca6bfd7

I think it's more appropriate to append these as plaintext
author Mark Doliner <mark@kingant.net>
date Mon, 22 Aug 2011 05:45:22 +0000
parents 7422716de669
children ce37181749de 757fc30ca2ab
files libpurple/protocols/jabber/buddy.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/buddy.c	Mon Aug 22 05:39:00 2011 +0000
+++ b/libpurple/protocols/jabber/buddy.c	Mon Aug 22 05:45:22 2011 +0000
@@ -733,7 +733,7 @@
 		const char *status_name = jabber_buddy_state_get_name(jbr->state);
 
 		g_snprintf(priority, sizeof(priority), "%d", jbr->priority);
-		purple_notify_user_info_add_pair_html(user_info, _("Priority"), priority);
+		purple_notify_user_info_add_pair_plaintext(user_info, _("Priority"), priority);
 
 		if (jbr->status) {
 			tmp = purple_markup_escape_text(jbr->status, -1);
@@ -752,12 +752,12 @@
 		g_free(tmp);
 		g_free(purdy);
 	} else {
-		purple_notify_user_info_add_pair_html(user_info, _("Status"), _("Unknown"));
+		purple_notify_user_info_add_pair_plaintext(user_info, _("Status"), _("Unknown"));
 	}
 
 	if (jbir && jbir->idle_seconds > 0) {
 		char *idle = purple_str_seconds_to_string(jbir->idle_seconds);
-		purple_notify_user_info_add_pair_html(user_info, _("Idle"), idle);
+		purple_notify_user_info_add_pair_plaintext(user_info, _("Idle"), idle);
 		g_free(idle);
 	}
 
@@ -774,7 +774,7 @@
 		                    jbr->tz_off < 0 ? '-' : '+',
 		                    abs(jbr->tz_off / (60*60)),
 		                    abs((jbr->tz_off % (60*60)) / 60));
-		purple_notify_user_info_add_pair_html(user_info, _("Local Time"), timestamp);
+		purple_notify_user_info_add_pair_plaintext(user_info, _("Local Time"), timestamp);
 		g_free(timestamp);
 	}