Mercurial > pidgin.yaz
comparison src/gtkblist.c @ 13217:502a4de3365c
[gaim-migrate @ 15581]
When contact alias == buddy alias, there's no point in showing the alias either. I'm probably the only person affected by this, because I use a weird aliasing scheme.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 11 Feb 2006 05:17:40 +0000 |
parents | 6ff5271afedc |
children | 44a8d46ee3c1 |
comparison
equal
deleted
inserted
replaced
13216:0ce20e0a1396 | 13217:502a4de3365c |
---|---|
2618 | 2618 |
2619 /* Alias */ | 2619 /* Alias */ |
2620 /* If there's not a contact alias, the node is being displayed with | 2620 /* If there's not a contact alias, the node is being displayed with |
2621 * this alias, so there's no point in showing it in the tooltip. */ | 2621 * this alias, so there's no point in showing it in the tooltip. */ |
2622 if (full && b->alias != NULL && b->alias[0] != '\0' && | 2622 if (full && b->alias != NULL && b->alias[0] != '\0' && |
2623 (c->alias != NULL && c->alias[0] != '\0')) | 2623 (c->alias != NULL && c->alias[0] != '\0') && |
2624 strcmp(c->alias, b->alias) != 0) | |
2624 { | 2625 { |
2625 tmp = g_markup_escape_text(b->alias, -1); | 2626 tmp = g_markup_escape_text(b->alias, -1); |
2626 g_string_append_printf(str, _("\n<b>Buddy Alias:</b> %s"), tmp); | 2627 g_string_append_printf(str, _("\n<b>Buddy Alias:</b> %s"), tmp); |
2627 g_free(tmp); | 2628 g_free(tmp); |
2628 } | 2629 } |