--- a/src/gtkutils.c Fri Jun 17 10:49:40 2005 -0400
+++ b/src/gtkutils.c Wed Jun 22 17:37:26 2005 -0400
@@ -588,9 +588,16 @@
gtk_box_pack_start(GTK_BOX(hbox), image, FALSE, FALSE, 0);
- g_snprintf(buf, sizeof(buf), "%s (%s)",
- gaim_account_get_username(account),
- gaim_account_get_protocol_name(account));
+ if (gaim_account_get_alias(account)) { + g_snprintf(buf, sizeof(buf), "%s (%s) (%s)", + gaim_account_get_username(account), + gaim_account_get_alias(account), + gaim_account_get_protocol_name(account)); + g_snprintf(buf, sizeof(buf), "%s (%s)", + gaim_account_get_username(account), + gaim_account_get_protocol_name(account)); label = gtk_label_new(buf);