Mercurial > pidgin.yaz
changeset 11320:d3b567926e8f
[gaim-migrate @ 13523]
Fix a missing buddy icon code change. Adapted from patch #1265593 from Sadrul.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 21 Aug 2005 17:01:43 +0000 |
parents | d9debf609b79 |
children | 95fa774d216d |
files | src/account.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/account.c Sat Aug 20 21:11:57 2005 +0000 +++ b/src/account.c Sun Aug 21 17:01:43 2005 +0000 @@ -1238,7 +1238,11 @@ g_free(account->buddy_icon); account->buddy_icon = (icon == NULL ? NULL : g_strdup(icon)); if (gaim_account_is_connected(account)) - serv_set_buddyicon(gaim_account_get_connection(account), icon); + { + char *filename = gaim_buddy_icons_get_full_path(icon); + serv_set_buddyicon(gaim_account_get_connection(account), filename); + g_free(filename); + } schedule_accounts_save(); }