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
This commit is contained in:
ChunEon Park 2011-10-14 02:22:59 +00:00
parent 951edc519b
commit e5dcf74c83
1 changed files with 2 additions and 0 deletions

View File

@ -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: