[gaim-migrate @ 15319]

Fri, 20 Jan 2006 03:28:13 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Fri, 20 Jan 2006 03:28:13 +0000
changeset 12966
4ef0b7997610
parent 12965
910d00f079ff
child 12967
8e59b7aa8ae0

[gaim-migrate @ 15319]
People set really long MSN friendly names. People insist on seeing them. I'm not sure which is worse.

src/gtkblist.c file | annotate | diff | comparison | revisions
--- a/src/gtkblist.c	Fri Jan 20 02:02:18 2006 +0000
+++ b/src/gtkblist.c	Fri Jan 20 03:28:13 2006 +0000
@@ -2628,11 +2628,11 @@
 		}
 
 		/* Nickname/Server Alias */
-		/* Likewise, only show this if there's a contact or buddy alias. */
-		if (full &&
-		    b->server_alias != NULL && b->server_alias[0] != '\0' &&
-		    ((b->alias != NULL && b->alias[0] != '\0') ||
-		     (c->alias != NULL && c->alias[0] != '\0')))
+		/* I'd like to only show this if there's a contact or buddy
+		 * alias, but many people on MSN set long nicknames, which
+		 * get ellipsized, so the only way to see the whole thing is
+		 * to look at the tooltip. */
+		if (full && b->server_alias != NULL && b->server_alias[0] != '\0')
 		{
 			tmp = g_markup_escape_text(b->server_alias, -1);
 			g_string_append_printf(str, _("\n<b>Nickname:</b> %s"), tmp);

mercurial