src/gtkblist.c

changeset 12966
4ef0b7997610
parent 12943
8f11013baa86
child 12970
c2f3b4dcf711
equal deleted inserted replaced
12965:910d00f079ff 12966:4ef0b7997610
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 }

mercurial