Elementary: Load image for image item with proper orientation

Summary:
Image files can have orientation information. Elm Entry have to
call evas_object_image_load_orientation_set() for showing image
with proper orientation.

Test Plan: N/A

Reviewers: herdsman, raster, jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D4244
This commit is contained in:
Youngbok Shin 2016-08-18 14:09:16 +03:00 committed by Daniel Hirt
parent 167d41e7b2
commit b915d29cd1
1 changed files with 1 additions and 0 deletions

View File

@ -2729,6 +2729,7 @@ _item_get(void *data,
const char *fname = item + 7;
o = evas_object_image_filled_add(evas_object_evas_get(data));
evas_object_image_load_orientation_set(o, EINA_TRUE);
evas_object_image_file_set(o, fname, NULL);
if (evas_object_image_load_error_get(o) == EVAS_LOAD_ERROR_NONE)
{