From 537531536a7034369298de83f42382b2b1170390 Mon Sep 17 00:00:00 2001 From: WooHyun Jung Date: Thu, 4 Nov 2010 21:05:38 +0900 Subject: [PATCH] [elm_entry] raise bug fixed --- src/lib/elm_entry.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index 6bcd520..a848a5e 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -256,10 +256,21 @@ _del_hook(Evas_Object *obj) Widget_Data *wd = elm_widget_data_get(obj); Elm_Entry_Context_Menu_Item *it; Elm_Entry_Item_Provider *ip; + Evas_Object *parent_obj = obj; + Evas_Object *above = NULL; if (wd->hovdeljob) ecore_job_del(wd->hovdeljob); if ((wd->api) && (wd->api->obj_unhook)) wd->api->obj_unhook(obj); // module - unhook + /* added for locating parents as they were */ + while (parent_obj) + { + above = evas_object_data_get(parent_obj, "raise"); + if (above) + evas_object_stack_below(parent_obj, above); + parent_obj = elm_widget_parent_get(parent_obj); + } + entries = eina_list_remove(entries, obj); #ifdef HAVE_ELEMENTARY_X ecore_event_handler_del(wd->sel_notify_handler); -- 2.7.4