cedric pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=e4551e7ef3dc1893f82672480b4f729dd701a881

commit e4551e7ef3dc1893f82672480b4f729dd701a881
Author: Mykyta Biliavskyi <m.biliavs...@samsung.com>
Date:   Mon Aug 4 11:27:27 2014 +0200

    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 <ced...@osg.samsung.com>
---
 src/lib/elc_ctxpopup.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c
index 072638d..44d1884 100644
--- a/src/lib/elc_ctxpopup.c
+++ b/src/lib/elc_ctxpopup.c
@@ -220,8 +220,8 @@ _base_geometry_calc(Evas_Object *obj,
 
    if (!rect || !sd->parent) return ELM_CTXPOPUP_DIRECTION_DOWN;
 
-   edje_object_part_geometry_get
-     (sd->arrow, "ctxpopup_arrow", NULL, NULL, &arrow_size.x, &arrow_size.y);
+   edje_object_part_geometry_get(sd->arrow, "base", NULL, NULL,
+                                 &arrow_size.x, &arrow_size.y);
    evas_object_resize(sd->arrow, arrow_size.x, arrow_size.y);
 
    //Initialize Area Rectangle.

-- 


Reply via email to