From: <the...@us...> - 2006-12-13 08:45:57
|
Revision: 17982 http://svn.sourceforge.net/gaim/?rev=17982&view=rev Author: thekingant Date: 2006-12-13 00:45:57 -0800 (Wed, 13 Dec 2006) Log Message: ----------- For oscar accounts, make sure our server-stored icon is updated correctly in the event that the local user set a new icon while this account was offline. Modified Paths: -------------- trunk/libgaim/protocols/oscar/oscar.c Modified: trunk/libgaim/protocols/oscar/oscar.c =================================================================== --- trunk/libgaim/protocols/oscar/oscar.c 2006-12-13 08:44:10 UTC (rev 17981) +++ trunk/libgaim/protocols/oscar/oscar.c 2006-12-13 08:45:57 UTC (rev 17982) @@ -4697,6 +4697,7 @@ GaimBuddy *b; struct aim_ssi_item *curitem; guint32 tmp; + const char *icon_path, *cached_icon_path; va_list ap; guint16 fmtver, numitems; guint32 timestamp; @@ -4924,6 +4925,15 @@ "ssi: activating server-stored buddy list\n"); aim_ssi_enable(od); + /* + * Make sure our server-stored icon is updated correctly in + * the event that the local user set a new icon while this + * account was offline. + */ + icon_path = gaim_account_get_buddy_icon(account); + cached_icon_path = gaim_buddy_icons_get_full_path(icon_path); + oscar_set_icon(gc, cached_icon_path); + return 1; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |