Mercurial > pidgin.yaz
changeset 23217:8fa7631158ca
Don't include the warning level in OSCAR user_info twice. The first inclusion
wasn't checking to only display it if it's non-zero; since warning has been
removed from (almost?) all AIM clients, we were (almost?) always displaying
'Warning Level: 0' in oscar user info.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Tue, 27 May 2008 03:45:59 +0000 |
parents | 3dc1bc92b170 |
children | f9ec2f2580e6 |
files | libpurple/protocols/oscar/oscar.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c Tue May 27 03:16:15 2008 +0000 +++ b/libpurple/protocols/oscar/oscar.c Tue May 27 03:45:59 2008 +0000 @@ -2943,10 +2943,6 @@ user_info = purple_notify_user_info_new(); purple_notify_user_info_add_pair(user_info, _("Username"), userinfo->sn); - tmp = g_strdup_printf("%d", (int)((userinfo->warnlevel/10.0) + 0.5)); - purple_notify_user_info_add_pair(user_info, _("Warning Level"), tmp); - g_free(tmp); - if (userinfo->present & AIM_USERINFO_PRESENT_ONLINESINCE) { time_t t = userinfo->onlinesince; oscar_user_info_add_pair(user_info, _("Online Since"), purple_date_format_full(localtime(&t)));