parent
769ae23360
commit
b8f4e5d137
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue