From: Mark D. <the...@us...> - 2004-07-31 21:30:21
|
Update of /cvsroot/gaim/gaim/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26824/plugins Modified Files: statenotify.c ChangeLog.API Log Message: Changes to those get_alias functions in blist.c from Christopher (siege) O'Brien: Renames gaim_get_buddy_alias to gaim_buddy_get_alias Renames gaim_get_buddy_alias_only to _gaim_buddy_get_alias_only Adds function gaim_buddy_get_contact_alias, which looks up a buddy's appropriate display name by order of: buddy alias; contact alias; server alias; buddy name. Note that the buddy alias is still the top-priority. Changed conversation.c to use _get_contact_alias rather than _get_alias The end result of this is that aliasing the contact will result in conversations with any of that contact's buddies using the contact alias. This allows people like myself to no longer have to alias each buddy to the same alias in order to achieve the same effect. Index: statenotify.c =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/statenotify.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -p -r1.19 -r1.20 --- statenotify.c 24 Jul 2004 15:14:43 -0000 1.19 +++ statenotify.c 31 Jul 2004 21:29:37 -0000 1.20 @@ -23,7 +23,7 @@ write_status(GaimBuddy *buddy, const cha if (conv == NULL) return; - who = gaim_get_buddy_alias(buddy); + who = gaim_buddy_get_alias(buddy); g_snprintf(buf, sizeof(buf), message, who); Index: ChangeLog.API =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/ChangeLog.API,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -p -r1.21 -r1.22 --- ChangeLog.API 28 Jul 2004 00:49:21 -0000 1.21 +++ ChangeLog.API 31 Jul 2004 21:29:37 -0000 1.22 @@ -3,6 +3,11 @@ Gaim: The Pimpin' Penguin IM Client that version 0.81cvs Commands API: * Most functions now have a void *data argument. + + Blist API: + * Added gaim_buddy_get_contact_alias + * Renamed gaim_get_buddy_alias to gaim_buddy_get_alias + * Renamed gaim_get_buddy_alias_only to gaim_buddy_get_alias_only Conversation API: * Changed: gaim_conv_chat_add_user() (added flags parameter) |