Elm: els_icon: Actually work if the image is already loaded.

SVN revision: 51974
This commit is contained in:
Brett Nash 2010-09-08 04:55:24 +00:00
parent 308e09effd
commit 5e612428fb
1 changed files with 1 additions and 1 deletions

View File

@ -59,8 +59,8 @@ _els_smart_icon_file_key_set(Evas_Object *obj, const char *file, const char *key
evas_object_image_file_set(sd->obj, file, key);
sd->preloading = 1;
sd->show = 1;
evas_object_image_preload(sd->obj, EINA_FALSE);
evas_object_hide(sd->obj);
evas_object_image_preload(sd->obj, EINA_FALSE);
if (evas_object_image_load_error_get(sd->obj) != EVAS_LOAD_ERROR_NONE)
return EINA_FALSE;
_smart_reconfigure(sd);