From: Kairong Yin Date: Thu, 27 Sep 2012 20:59:03 +0000 (-0700) Subject: Fix N_SE-10719 X-Git-Tag: accepted/tizen_2.1/20130425.022820~31^2~197 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dcf82ccbcdfe56577526c83d1c96cf3311a82300;p=apps%2Fcore%2Fpreloaded%2Fsettings.git Fix N_SE-10719 Change-Id: Iff5fa192a870197bd19884afb536f415ca4dd55c --- diff --git a/setting-about/src/setting-about-main.c b/setting-about/src/setting-about-main.c index 3818715..c2c0e9a 100755 --- a/setting-about/src/setting-about-main.c +++ b/setting-about/src/setting-about-main.c @@ -542,7 +542,8 @@ static void __entry_key_down_cb(void *data, Evas *e, Evas_Object *obj, void *eve SettingAboutUG *ad = (SettingAboutUG*)data; Evas_Event_Key_Down *ev = (Evas_Event_Key_Down *)event_info; SETTING_TRACE_DEBUG("ev->key : %s", ev->key); - if(safeStrCmp(ev->key, "Return") == 0) + if(safeStrCmp(ev->key, "KP_Enter") == 0 //it is for Japanese keyboard to fix N_SE-10719 + || safeStrCmp(ev->key, "Return") == 0) { // if entry has 1 char at list, hide ime. if(safeStrLen(elm_entry_entry_get(obj)) == 0) diff --git a/setting-common/src/setting-common-draw-genlist.c b/setting-common/src/setting-common-draw-genlist.c index 9c0f02c..ab4e57f 100755 --- a/setting-common/src/setting-common-draw-genlist.c +++ b/setting-common/src/setting-common-draw-genlist.c @@ -214,7 +214,8 @@ static void __entry_keydown(void *data, Evas *e, Evas_Object *obj, void *event_i { ret_if(event_info == NULL); Evas_Event_Key_Down *ev = (Evas_Event_Key_Down *)event_info; - if(safeStrCmp(ev->key, "Return") == 0) //to disable the 'Enter' orginal function + if(safeStrCmp(ev->key, "KP_Enter") == 0 //it is for Japanese keyboard to fix N_SE-10719 + || safeStrCmp(ev->key, "Return") == 0) //to disable the 'Enter' orginal function { SETTING_TRACE("ENTER %s ev->key:%s", __FUNCTION__, ev->key); //hide the eraser button