summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoohye Shin <soohye.shin@samsung.com>2016-03-04 15:53:53 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-03-04 16:09:51 -0800
commit48461bb94621b7cbc366a00c9f44ccc95d971ba6 (patch)
treef96a3c332cb468978a4431d39ad6adc2b7cd559b
parent4ed9b83258eeb9872f5b6ff972d63cbd2a166b2c (diff)
edje: return default description depends on RTL when description doesn't exist
Summary: 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 status. Reviewers: raster, Hermet, cedric Subscribers: minkyu, sju27, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3735 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/lib/edje/edje_calc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index c30efb2a64..6ea31570fb 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
721 721
722 epd1 = _edje_part_description_find(ed, ep, d1, v1, EINA_TRUE); 722 epd1 = _edje_part_description_find(ed, ep, d1, v1, EINA_TRUE);
723 if (!epd1) 723 if (!epd1)
724 epd1 = ep->part->default_desc; /* never NULL */ 724 epd1 = _edje_get_description_by_orientation(ed, ep->part->default_desc,
725 &ep->part->default_desc_rtl,
726 ep->type); /* never NULL */
725 727
726 if (d2) 728 if (d2)
727 epd2 = _edje_part_description_find(ed, ep, d2, v2, EINA_TRUE); 729 epd2 = _edje_part_description_find(ed, ep, d2, v2, EINA_TRUE);