cedric pushed a commit to branch master.


commit 48461bb94621b7cbc366a00c9f44ccc95d971ba6
Author: Soohye Shin <soohye.s...@samsung.com>
Date:   Fri Mar 4 15:53:53 2016 -0800

    edje: return default description depends on RTL when description doesn't 
    If not found edje part description, edje just set default description in 
spite of RTL status.
    This adds to call function for getting the correct description as RTL 
    Reviewers: raster, Hermet, cedric
    Subscribers: minkyu, sju27, cedric, jpeg
    Differential Revision: https://phab.enlightenment.org/D3735
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
 src/lib/edje/edje_calc.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index c30efb2..6ea3157 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -721,7 +721,9 @@ _edje_part_description_apply(Edje *ed, Edje_Real_Part *ep, 
const char *d1, doubl
    epd1 = _edje_part_description_find(ed, ep, d1, v1, EINA_TRUE);
    if (!epd1)
-     epd1 = ep->part->default_desc;  /* never NULL */
+     epd1 = _edje_get_description_by_orientation(ed, ep->part->default_desc,
+                                                 &ep->part->default_desc_rtl,
+                                                ep->type); /* never NULL */
    if (d2)
      epd2 = _edje_part_description_find(ed, ep, d2, v2, EINA_TRUE);


Reply via email to