Mercurial > pidgin
comparison src/gtkblist.c @ 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 | 82e918444965 |
children | ec9b92104904 |
comparison
equal
deleted
inserted
replaced
12965:b3b53fd38dee | 12966:03679a4db953 |
---|---|
2626 g_string_append_printf(str, _("\n<b>Buddy Alias:</b> %s"), tmp); | 2626 g_string_append_printf(str, _("\n<b>Buddy Alias:</b> %s"), tmp); |
2627 g_free(tmp); | 2627 g_free(tmp); |
2628 } | 2628 } |
2629 | 2629 |
2630 /* Nickname/Server Alias */ | 2630 /* Nickname/Server Alias */ |
2631 /* Likewise, only show this if there's a contact or buddy alias. */ | 2631 /* I'd like to only show this if there's a contact or buddy |
2632 if (full && | 2632 * alias, but many people on MSN set long nicknames, which |
2633 b->server_alias != NULL && b->server_alias[0] != '\0' && | 2633 * get ellipsized, so the only way to see the whole thing is |
2634 ((b->alias != NULL && b->alias[0] != '\0') || | 2634 * to look at the tooltip. */ |
2635 (c->alias != NULL && c->alias[0] != '\0'))) | 2635 if (full && b->server_alias != NULL && b->server_alias[0] != '\0') |
2636 { | 2636 { |
2637 tmp = g_markup_escape_text(b->server_alias, -1); | 2637 tmp = g_markup_escape_text(b->server_alias, -1); |
2638 g_string_append_printf(str, _("\n<b>Nickname:</b> %s"), tmp); | 2638 g_string_append_printf(str, _("\n<b>Nickname:</b> %s"), tmp); |
2639 g_free(tmp); | 2639 g_free(tmp); |
2640 } | 2640 } |