gaim/gaim

Parents a9aa84fc78cb
Children 7876164a3721
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).
--- 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);
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);