| 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 } |