From: WooHyun Jung Date: Thu, 19 May 2011 05:20:14 +0000 (+0900) Subject: Copypaste Module : bug fixed X-Git-Tag: REL_I9200_20110603-1~38^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d69361ac950a96d831fec893e09a94ef2c783a45;p=framework%2Fuifw%2Felementary.git Copypaste Module : bug fixed --- diff --git a/src/modules/ctxpopup_copypasteUI/copypaste.c b/src/modules/ctxpopup_copypasteUI/copypaste.c index a35b1a5..2aa5e65 100644 --- a/src/modules/ctxpopup_copypasteUI/copypaste.c +++ b/src/modules/ctxpopup_copypasteUI/copypaste.c @@ -125,6 +125,14 @@ _item_clicked(void *data, Evas_Object *obj, void *event_info) evas_object_hide(obj); } +static void +_ctxpopup_dismissed_cb(void *data, Evas_Object *o __UNUSED__, void *event_info __UNUSED__) +{ + if (!ext_mod) return; + + elm_object_scroll_freeze_pop(ext_mod->popup); +} + // module api funcs needed EAPI int elm_modapi_init(void *m) @@ -185,7 +193,10 @@ obj_longpress(Evas_Object *obj) //else elm_widget_scroll_freeze_push(obj); top = elm_widget_top_get(obj); if(top) - ext_mod->popup = elm_ctxpopup_add(top); + { + ext_mod->popup = elm_ctxpopup_add(top); + evas_object_smart_callback_add(ext_mod->popup, "dismissed", _ctxpopup_dismissed_cb, NULL); + } /*currently below theme not used,when guideline comes a new theme can be created if required*/ elm_object_style_set(ext_mod->popup,"extended/entry"); context_menu_orientation = edje_object_data_get