Mercurial > pidgin.yaz
changeset 16378:bae921154351
If we're not caching icons, then don't save the filename.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 24 Apr 2007 13:27:42 +0000 |
parents | 44489a2123e7 |
children | 30f2fdcea12c |
files | libpurple/buddyicon.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/buddyicon.c Tue Apr 24 04:39:07 2007 +0000 +++ b/libpurple/buddyicon.c Tue Apr 24 13:27:42 2007 +0000 @@ -379,7 +379,7 @@ old_icon = g_strdup(purple_blist_node_get_string((PurpleBlistNode *)buddy, "buddy_icon")); - if (icon->img) + if (icon->img && purple_buddy_icons_is_caching()) { const char *filename = purple_imgstore_get_filename(icon->img); purple_blist_node_set_string((PurpleBlistNode *)buddy, @@ -637,7 +637,7 @@ old_icon = g_strdup(purple_blist_node_get_string((PurpleBlistNode *)contact, "custom_buddy_icon")); - if (img) + if (img && purple_buddy_icons_is_caching()) { const char *filename = purple_imgstore_get_filename(img); purple_blist_node_set_string((PurpleBlistNode *)contact,