Commit 0380a4d4 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Revert "ui/utils: Don't make assumptions about images path"

This reverts commit 71458cdb.
parent d49a159e
......@@ -29,9 +29,11 @@
Evas_Object*
create_image(Evas_Object *parent, const char *image_path)
{
Evas_Object *img = elm_icon_add(parent);
char path[PATH_MAX];
elm_image_file_set(img, image_path, NULL);
Evas_Object *img = elm_icon_add(parent);
snprintf(path, PATH_MAX, ICON_DIR"/%s", image_path);
elm_image_file_set(img, path, NULL);
/* */
elm_image_resizable_set(img, EINA_TRUE, EINA_TRUE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment