changeset 23215:b24d5d112a14

Bring oscar prpl in line with the other prpls in how it provides user info: The away message is now given an appropriate label and isn't set off in a separate section.
author Evan Schoenberg <evan.s@dreskin.net>
date Tue, 27 May 2008 02:14:14 +0000
parents f34fbd06984f
children 3dc1bc92b170 02b6569d99e9
files libpurple/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Tue May 27 02:10:35 2008 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Tue May 27 02:14:14 2008 +0000
@@ -3001,8 +3001,7 @@
 		g_free(tmp);
 		if (away_utf8 != NULL) {
 			tmp = purple_str_sub_away_formatters(away_utf8, purple_account_get_username(account));
-			purple_notify_user_info_add_section_break(user_info);
-			oscar_user_info_add_pair(user_info, NULL, tmp);
+			oscar_user_info_add_pair(user_info, _("Away Message"), tmp);
 			g_free(tmp);
 			g_free(away_utf8);
 		}