Mercurial > pidgin
changeset 12482:bd5b3f82dd8e
[gaim-migrate @ 14794]
MSN seems to be the only protocol that duplicates the screenname in the imhtml in the Get Info box. I find this annoying, especially since it's so large. For consistency reasons, and since it's not useful (given it's duplicated), I'm removing it. Slap me if this is wrong.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 14 Dec 2005 18:24:11 +0000 |
parents | dbbd632951a5 |
children | 54448bd2ccc7 |
files | src/protocols/msn/msn.c |
diffstat | 1 files changed, 0 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/msn/msn.c Wed Dec 14 17:06:45 2005 +0000 +++ b/src/protocols/msn/msn.c Wed Dec 14 18:24:11 2005 +0000 @@ -1341,28 +1341,11 @@ msn_tooltip_info_text(MsnGetInfoData *info_data) { GString *s; - GString *name; GaimBuddy *b; const char *p; s = g_string_sized_new(80); /* wild guess */ - /* Try to not display the MSN screen name as an email address */ - p = strrchr(info_data->name, '@'); - if (p) - { - name = g_string_new_len(info_data->name, p - info_data->name); - g_string_append_printf(name, "@%s", p + 1); - } - else - { - /* This should never happen */ - name = g_string_new(info_data->name); - } - - g_string_printf(s, "<span style=\"font-size: larger\"><b>%s</b></span><br>", - name->str); - g_string_free(name, TRUE); b = gaim_find_buddy(gaim_connection_get_account(info_data->gc), info_data->name);