summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2013-02-05 12:53:04 +0000
committerSung-jae Park <nicesj.park@samsung.com>2013-02-05 12:53:04 +0000
commiteb1bc849044e36f69d1ecb86be108f5e4799f381 (patch)
tree356bab3258fb0beee7fe8b4c2c9816d7f1526fa7
parent2599b78e51dac1ee2f38d10d19203ccc9195fc15 (diff)
downloadlivebox-edje-eb1bc849044e36f69d1ecb86be108f5e4799f381.tar.gz
livebox-edje-eb1bc849044e36f69d1ecb86be108f5e4799f381.tar.bz2
livebox-edje-eb1bc849044e36f69d1ecb86be108f5e4799f381.zip
Use the rotation information to loads an image.
Change-Id: I66878acf538712e45cc35feda75fa4240bb1c546
-rw-r--r--packaging/liblivebox-edje.spec2
-rw-r--r--src/script_port.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/packaging/liblivebox-edje.spec b/packaging/liblivebox-edje.spec
index 3a4200e..0d4d9e7 100644
--- a/packaging/liblivebox-edje.spec
+++ b/packaging/liblivebox-edje.spec
@@ -1,6 +1,6 @@
Name: liblivebox-edje
Summary: EDJE Script loader for the data provider master
-Version: 0.1.21
+Version: 0.1.22
Release: 1
Group: framework/livebox
License: Flora License
diff --git a/src/script_port.c b/src/script_port.c
index e8a11c8..986808a 100644
--- a/src/script_port.c
+++ b/src/script_port.c
@@ -253,6 +253,8 @@ int script_update_image(void *_h, Evas *e, const char *id, const char *part, con
return -EFAULT;
}
+ evas_object_image_load_orientation_set(img, EINA_TRUE);
+
child->obj = img;
evas_object_image_file_set(img, path, NULL);