Mercurial > pidgin.yaz
changeset 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 | 0ce20e0a1396 |
children | c01aa6ea4947 |
files | src/gtkblist.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkblist.c Fri Feb 10 21:22:09 2006 +0000 +++ b/src/gtkblist.c Sat Feb 11 05:17:40 2006 +0000 @@ -2620,7 +2620,8 @@ /* If there's not a contact alias, the node is being displayed with * this alias, so there's no point in showing it in the tooltip. */ if (full && b->alias != NULL && b->alias[0] != '\0' && - (c->alias != NULL && c->alias[0] != '\0')) + (c->alias != NULL && c->alias[0] != '\0') && + strcmp(c->alias, b->alias) != 0) { tmp = g_markup_escape_text(b->alias, -1); g_string_append_printf(str, _("\n<b>Buddy Alias:</b> %s"), tmp);