summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Biliavskyi <m.biliavskyi@samsung.com>2014-08-04 11:27:27 +0200
committerCedric BAIL <cedric@osg.samsung.com>2014-08-04 11:27:31 +0200
commite4551e7ef3dc1893f82672480b4f729dd701a881 (patch)
tree1a2c956bb5ca9bb33fe5525c1afc3fc324210489
parentd0859f0dfaaa528da3b83d226338c9d64083f028 (diff)
ctxpopup: fix arrow geometry set.
Summary: edje_object_part_geometry_get - always returns 0, 0 geometry of arrow. On taking geometry directly from part - get real values. @fix Reviewers: Hermet, cedric, seoz Subscribers: Hermet Differential Revision: https://phab.enlightenment.org/D1265 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/lib/elc_ctxpopup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c
index 072638d20..44d188423 100644
--- a/src/lib/elc_ctxpopup.c
+++ b/src/lib/elc_ctxpopup.c
@@ -220,8 +220,8 @@ _base_geometry_calc(Evas_Object *obj,
220 220
221 if (!rect || !sd->parent) return ELM_CTXPOPUP_DIRECTION_DOWN; 221 if (!rect || !sd->parent) return ELM_CTXPOPUP_DIRECTION_DOWN;
222 222
223 edje_object_part_geometry_get 223 edje_object_part_geometry_get(sd->arrow, "base", NULL, NULL,
224 (sd->arrow, "ctxpopup_arrow", NULL, NULL, &arrow_size.x, &arrow_size.y); 224 &arrow_size.x, &arrow_size.y);
225 evas_object_resize(sd->arrow, arrow_size.x, arrow_size.y); 225 evas_object_resize(sd->arrow, arrow_size.x, arrow_size.y);
226 226
227 //Initialize Area Rectangle. 227 //Initialize Area Rectangle.