# HG changeset patch # User Etan Reisner # Date 1119476183 0 # Node ID 829ab6b71ffe36372ff3a203f71197c356bb20e3 # Parent 6417b2f5de4e8903430b88a19bc5bc9141216c28 [gaim-migrate @ 12886] I don't think this is particularly important but I suppose some people might find it useful. It makes the account dropdown lists include the account alias (e.g. UIN (alias) (AIM/ICQ) in the Join a Chat dialog). committer: Tailor Script diff -r 6417b2f5de4e -r 829ab6b71ffe src/gtkutils.c --- a/src/gtkutils.c Tue Jun 21 04:40:34 2005 +0000 +++ b/src/gtkutils.c Wed Jun 22 21:36:23 2005 +0000 @@ -652,9 +652,16 @@ gtk_box_pack_start(GTK_BOX(hbox), image, FALSE, FALSE, 0); gtk_widget_show(image); - 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)); + } else { + g_snprintf(buf, sizeof(buf), "%s (%s)", + gaim_account_get_username(account), + gaim_account_get_protocol_name(account)); + } /* Create the label. */ label = gtk_label_new(buf);