From 55ef0e47375534bf399488053b6a2dc013b18fe8 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Fri, 20 Aug 2010 09:41:07 +0900 Subject: [PATCH] add ELM_INPUT_PANEL_LAYOUT_MONTH and NUMBERPLUS for datetime picker --- src/lib/Elementary.h.in | 2 ++ src/lib/elm_entry.c | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in index e2b741b..367bf44 100755 --- a/src/lib/Elementary.h.in +++ b/src/lib/Elementary.h.in @@ -753,6 +753,8 @@ extern "C" { ELM_INPUT_PANEL_LAYOUT_URL, ELM_INPUT_PANEL_LAYOUT_PHONENUMBER, ELM_INPUT_PANEL_LAYOUT_IP, + ELM_INPUT_PANEL_LAYOUT_MONTH, + ELM_INPUT_PANEL_LAYOUT_NUMBERPLUS, } Elm_Input_Panel_Layout; EAPI Evas_Object *elm_entry_add(Evas_Object *parent); diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index 27f2a68..92f8b4c 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -286,7 +286,7 @@ _theme_hook(Evas_Object *obj) ic = edje_object_part_text_imf_context_get(wd->ent, "elm.text"); if (ic) { - ecore_imf_context_input_panel_layout_set(ic, (Ecore_IMF_Input_Panel_Layout)wd->input_panel_layout); + ecore_imf_context_input_panel_layout_set(ic, (Ecore_IMF_Input_Panel_Layout)wd->input_panel_layout); } _sizing_eval(obj); @@ -995,9 +995,8 @@ _signal_entry_changed(void *data, Evas_Object *obj __UNUSED__, const char *emiss _sizing_eval(data); if (wd->text) eina_stringshare_del(wd->text); wd->text = NULL; + _check_enable_returnkey(data); evas_object_smart_callback_call(data, SIG_CHANGED, NULL); - - _check_enable_returnkey(data); } static void -- 2.7.4