# HG changeset patch # User Richard Laager # Date 1134584651 0 # Node ID bd5b3f82dd8e0796682d43dfd51e049ed33cd206 # Parent dbbd632951a58d4ab8835c362912abf98a50e7d0 [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 diff -r dbbd632951a5 -r bd5b3f82dd8e src/protocols/msn/msn.c --- 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, "%s
", - name->str); - g_string_free(name, TRUE); b = gaim_find_buddy(gaim_connection_get_account(info_data->gc), info_data->name);