forked from enlightenment/enlightenment
e_icon loads at 64x64 internally... to try speed things up.
SVN revision: 25397
This commit is contained in:
parent
1da729667d
commit
bcd3c03b16
|
@ -44,6 +44,7 @@ e_icon_file_set(Evas_Object *obj, const char *file)
|
|||
sd = evas_object_smart_data_get(obj);
|
||||
if (!sd) return;
|
||||
/* smart code here */
|
||||
evas_object_image_load_size_set(sd->obj, 64, 64);
|
||||
evas_object_image_file_set(sd->obj, file, NULL);
|
||||
_e_icon_smart_reconfigure(sd);
|
||||
}
|
||||
|
@ -56,6 +57,7 @@ e_icon_file_key_set(Evas_Object *obj, const char *file, const char *key)
|
|||
sd = evas_object_smart_data_get(obj);
|
||||
if (!sd) return;
|
||||
/* smart code here */
|
||||
evas_object_image_load_size_set(sd->obj, 64, 64);
|
||||
evas_object_image_file_set(sd->obj, file, key);
|
||||
_e_icon_smart_reconfigure(sd);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue