add ELM_INPUT_PANEL_LAYOUT_MONTH and NUMBERPLUS for datetime picker
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 20 Aug 2010 00:41:07 +0000 (09:41 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 20 Aug 2010 00:41:07 +0000 (09:41 +0900)
src/lib/Elementary.h.in
src/lib/elm_entry.c

index e2b741b..367bf44 100755 (executable)
@@ -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);
index 27f2a68..92f8b4c 100644 (file)
@@ -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