From: Myungjae Lee Date: Thu, 19 Apr 2012 09:16:13 +0000 (+0900) Subject: [copypaste] fixed ctxpopup hide bug and focus allow set bug X-Git-Tag: sbs/armel/slp2-target~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=152694f7017d0a281bb360cc50a3b6c4141668db;p=framework%2Fuifw%2Felementary.git [copypaste] fixed ctxpopup hide bug and focus allow set bug Change-Id: Iec63d155eea9b7d3e1d8489ea0fff9dbe0ebd9a3 --- diff --git a/src/modules/ctxpopup_copypasteUI/copypaste.c b/src/modules/ctxpopup_copypasteUI/copypaste.c index b9923a7..cdf9d28 100644 --- a/src/modules/ctxpopup_copypasteUI/copypaste.c +++ b/src/modules/ctxpopup_copypasteUI/copypaste.c @@ -90,10 +90,7 @@ _entry_hide_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void static void _entry_move_cb(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) { - if (evas_pointer_button_down_mask_get(e)) - _ctxpopup_hide(data); - else - _ctxpopup_position(data); + _ctxpopup_hide(data); } static void @@ -370,7 +367,7 @@ obj_longpress(Evas_Object *obj) if(top) { ext_mod->popup = elm_ctxpopup_add(top); - elm_object_focus_allow_set(ext_mod->popup, EINA_FALSE); + elm_object_tree_focus_allow_set(ext_mod->popup, EINA_FALSE); evas_object_smart_callback_add(ext_mod->popup, "dismissed", _ctxpopup_dismissed_cb, NULL); evas_object_event_callback_add(obj, EVAS_CALLBACK_DEL, _entry_del_cb, ext_mod->popup); evas_object_event_callback_add(obj, EVAS_CALLBACK_HIDE, _entry_hide_cb, ext_mod->popup);