projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f0eb63c
)
[els_icon]preload off
author
Sohyun Kim
<anna1014.kim@samsung.com>
Mon, 10 Jan 2011 08:58:32 +0000
(17:58 +0900)
committer
Sohyun Kim
<anna1014.kim@samsung.com>
Mon, 10 Jan 2011 08:58:32 +0000
(17:58 +0900)
src/lib/els_icon.c
patch
|
blob
|
history
diff --git
a/src/lib/els_icon.c
b/src/lib/els_icon.c
index
ac0b092
..
daa0373
100644
(file)
--- a/
src/lib/els_icon.c
+++ b/
src/lib/els_icon.c
@@
-82,10
+82,13
@@
_els_smart_icon_file_key_set(Evas_Object *obj, const char *file, const char *key
if (!sd->size)
evas_object_image_load_size_set(sd->obj, sd->size, sd->size);
evas_object_image_file_set(sd->obj, file, key);
if (!sd->size)
evas_object_image_load_size_set(sd->obj, sd->size, sd->size);
evas_object_image_file_set(sd->obj, file, key);
- sd->preloading = EINA_TRUE;
+ /* by default preload off by seok.j.jeong */
+ sd->preloading = EINA_FALSE;
sd->show = EINA_TRUE;
sd->show = EINA_TRUE;
- evas_object_hide(sd->obj);
- evas_object_image_preload(sd->obj, EINA_FALSE);
+ if (sd->preloading)
+ evas_object_image_preload(sd->obj, EINA_FALSE);
+ if (sd->preloading)
+ evas_object_hide(sd->obj);
if (evas_object_image_load_error_get(sd->obj) != EVAS_LOAD_ERROR_NONE)
return EINA_FALSE;
_smart_reconfigure(sd);
if (evas_object_image_load_error_get(sd->obj) != EVAS_LOAD_ERROR_NONE)
return EINA_FALSE;
_smart_reconfigure(sd);