e_icon loads at 64x64 internally... to try speed things up.

SVN revision: 25397
This commit is contained in:
Carsten Haitzler 2006-09-03 09:44:00 +00:00
parent 1da729667d
commit bcd3c03b16
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}