ephoto: Applied elm_icon API change.

SVN revision: 71806
This commit is contained in:
Daniel Juyung Seo 2012-06-07 11:41:03 +00:00
parent 769ae23360
commit b8f4e5d137
3 changed files with 3 additions and 3 deletions

View File

@ -495,7 +495,7 @@ ephoto_thumb_path_set(Evas_Object *o, const char *path)
group = eina_list_data_get(g);
edje_file_collection_list_free(g);
}
elm_icon_file_set(o, path, group);
elm_image_file_set(o, path, group);
evas_object_data_set(o, "ephoto_format", NULL);
return;
}

View File

@ -825,7 +825,7 @@ _button_add(Evas_Object *box, const char *image)
but = elm_button_add(box);
ic = elm_icon_add(but);
elm_icon_file_set(ic, image, NULL);
elm_image_file_set(ic, image, NULL);
evas_object_size_hint_min_set(ic, 16, 16);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_BOTH, 1, 1);

View File

@ -449,7 +449,7 @@ _button_add(Evas_Object *box, const char *image)
but = elm_button_add(box);
ic = elm_icon_add(but);
elm_icon_file_set(ic, image, NULL);
elm_image_file_set(ic, image, NULL);
evas_object_size_hint_min_set(ic, 16, 16);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_BOTH, 1, 1);