Yo JP,

Could your commit be the cause of the non loading of the image if 
file_set is done after show?
Now, only if show is done after file_set, it will load it.

JackDanielZ, alias Daniel


On 09/26/2013 01:00 PM, Jean-Philippe Andre wrote:
> jpeg pushed a commit to branch master.
>
> http://git.enlightenment.org/core/elementary.git/commit/?id=a5c851ff1e1e5c3182600503fed41eaa7161eb35
>
> commit a5c851ff1e1e5c3182600503fed41eaa7161eb35
> Author: Jean-Philippe Andre <jp.an...@samsung.com>
> Date:   Thu Sep 26 18:55:44 2013 +0900
>
>      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.
> ---
>   src/lib/elm_image.c | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c
> index acf4b89..5e19225 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
>        }
>      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);
>        }
>   
>


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to