elm_image: Fix remote image loading

Fixes commit dcb8b54aee3a545a1:
 - elm_image: do not preload full image on file_set.

elementary_test "Image Remote" was not working anymore because
the image was never loaded after download.
This commit is contained in:
Jean-Philippe Andre 2013-09-26 18:55:44 +09:00
parent 6e07a4c457
commit 39fe09b137
1 changed files with 6 additions and 0 deletions

View File

@ -889,6 +889,12 @@ _elm_image_smart_download_done(void *data, Elm_Url *url EINA_UNUSED, Eina_Binbuf
}
else
{
if (evas_object_visible_get(obj))
{
Evas_Object *eobj = elm_image_object_get(obj);
evas_object_image_preload(eobj, EINA_FALSE);
}
evas_object_smart_callback_call(obj, SIG_DOWNLOAD_DONE, NULL);
}