Mercurial > pidgin.yaz
changeset 12966:03679a4db953
[gaim-migrate @ 15319]
People set really long MSN friendly names. People insist on seeing them. I'm not sure which is worse.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 20 Jan 2006 03:28:13 +0000 |
parents | b3b53fd38dee |
children | 53cde8409599 |
files | src/gtkblist.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkblist.c Fri Jan 20 02:02:18 2006 +0000 +++ b/src/gtkblist.c Fri Jan 20 03:28:13 2006 +0000 @@ -2628,11 +2628,11 @@ } /* Nickname/Server Alias */ - /* Likewise, only show this if there's a contact or buddy alias. */ - if (full && - b->server_alias != NULL && b->server_alias[0] != '\0' && - ((b->alias != NULL && b->alias[0] != '\0') || - (c->alias != NULL && c->alias[0] != '\0'))) + /* I'd like to only show this if there's a contact or buddy + * alias, but many people on MSN set long nicknames, which + * get ellipsized, so the only way to see the whole thing is + * to look at the tooltip. */ + if (full && b->server_alias != NULL && b->server_alias[0] != '\0') { tmp = g_markup_escape_text(b->server_alias, -1); g_string_append_printf(str, _("\n<b>Nickname:</b> %s"), tmp);