summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-09-26 18:55:44 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2013-09-26 18:57:16 +0900
commita5c851ff1e1e5c3182600503fed41eaa7161eb35 (patch)
tree22378f8d92ec3b98dd13605e2714b0b6ed857e93 /src
parent97836ca759a76c9f25ec32ff6378da80e1237c0f (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_image.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c
index acf4b89e8..5e1922501 100644
--- a/src/lib/elm_image.c
+++ b/src/lib/elm_image.c
@@ -889,6 +889,12 @@ _elm_image_smart_download_done(void *data, Elm_Url *url EINA_UNUSED, Eina_Binbuf
889 } 889 }
890 else 890 else
891 { 891 {
892 if (evas_object_visible_get(obj))
893 {
894 Evas_Object *eobj = elm_image_object_get(obj);
895 evas_object_image_preload(eobj, EINA_FALSE);
896 }
897
892 evas_object_smart_callback_call(obj, SIG_DOWNLOAD_DONE, NULL); 898 evas_object_smart_callback_call(obj, SIG_DOWNLOAD_DONE, NULL);
893 } 899 }
894 900