Mercurial > pidgin.yaz
comparison src/blist.c @ 11040:3428ad6f5049
[gaim-migrate @ 12940]
Patch #1224610 from Richard Laager
"Buddy icon cache files are removed when replacing icons but not when unsetting the icon. This patch corrects that."
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 30 Jun 2005 04:33:21 +0000 |
parents | 50224ac8184d |
children | 2eca9ed49469 |
comparison
equal
deleted
inserted
replaced
11039:34d2aac7b34f | 11040:3428ad6f5049 |
---|---|
1095 } | 1095 } |
1096 | 1096 |
1097 if (buddy->icon) | 1097 if (buddy->icon) |
1098 gaim_buddy_icon_cache(icon, buddy); | 1098 gaim_buddy_icon_cache(icon, buddy); |
1099 else | 1099 else |
1100 gaim_blist_node_remove_setting((GaimBlistNode *)buddy, "buddy_icon"); | 1100 gaim_buddy_icon_uncache(buddy); |
1101 | 1101 |
1102 gaim_blist_schedule_save(); | 1102 gaim_blist_schedule_save(); |
1103 | 1103 |
1104 gaim_blist_update_buddy_icon(buddy); | 1104 gaim_blist_update_buddy_icon(buddy); |
1105 } | 1105 } |