From e5dcf74c8384dbf0b81cc46c2687e5e389141f28 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Fri, 14 Oct 2011 02:22:59 +0000 Subject: [PATCH] elementary/ctxpopup - patched by kimcinoo@gmail.com Dear All, Hello. The arrow of ctxpopup is swallowed in one of 4 swallow parts(left, right, top, bottom) of base group. If user REuses ctxpopup which is already displayed with different direction, then the arrow will be swallowed in previous position. So the attached patch will unswallow arrow from the base before swallow... Please review the patch and give any feedbacks. Sincerely, Shinwoo Kim. SVN revision: 64054 --- legacy/elementary/src/lib/elc_ctxpopup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/legacy/elementary/src/lib/elc_ctxpopup.c b/legacy/elementary/src/lib/elc_ctxpopup.c index 7186734ca2..aa5cfe61b5 100644 --- a/legacy/elementary/src/lib/elc_ctxpopup.c +++ b/legacy/elementary/src/lib/elc_ctxpopup.c @@ -507,6 +507,8 @@ _update_arrow(Evas_Object *obj, Elm_Ctxpopup_Direction dir) evas_object_geometry_get(wd->base, &base_size.x, &base_size.y, &base_size.w, &base_size.h); + edje_object_part_unswallow(wd->base, wd->arrow); + switch (dir) { case ELM_CTXPOPUP_DIRECTION_RIGHT: