Fix N_SE-10719
authorKairong Yin <kairong78.yin@samsung.com>
Thu, 27 Sep 2012 20:59:03 +0000 (13:59 -0700)
committerMyoungJune Park <mj2004.park@samsung.com>
Fri, 5 Oct 2012 02:13:37 +0000 (11:13 +0900)
Change-Id: Iff5fa192a870197bd19884afb536f415ca4dd55c

setting-about/src/setting-about-main.c
setting-common/src/setting-common-draw-genlist.c

index 3818715..c2c0e9a 100755 (executable)
@@ -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)
index 9c0f02c..ab4e57f 100755 (executable)
@@ -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