# HG changeset patch # User Christian Hammond # Date 1073253981 0 # Node ID d5874c4f19c51729452d644fe6b45387341483e5 # Parent 495d3dbb4e84069ddaf4698c08e7b1b56d576404 [gaim-migrate @ 8671] The buddy pounce notification dialog now shows the person's alias instead of their screenname, if available. This is consistent with almost every other part of gaim. committer: Tailor Script diff -r 495d3dbb4e84 -r d5874c4f19c5 src/gtkpounce.c --- a/src/gtkpounce.c Sun Jan 04 22:04:24 2004 +0000 +++ b/src/gtkpounce.c Sun Jan 04 22:06:21 2004 +0000 @@ -767,11 +767,17 @@ { GaimConversation *conv; GaimAccount *account; + GaimBuddy *buddy; const char *pouncee; + const char *alias; pouncee = gaim_pounce_get_pouncee(pounce); account = gaim_pounce_get_pouncer(pounce); + buddy = gaim_find_buddy(account, pouncee); + + alias = gaim_get_buddy_alias(buddy); + if (gaim_pounce_action_is_enabled(pounce, "open-window")) { conv = gaim_find_conversation_with_account(pouncee, account); @@ -792,7 +798,7 @@ (events & GAIM_POUNCE_IDLE) ? _("%s has become idle") : (events & GAIM_POUNCE_AWAY) ? _("%s has gone away.") : _("Unknown pounce event. Please report this!"), - pouncee); + alias); gaim_notify_info(NULL, NULL, tmp, NULL); }