Setting_GenGroupItem_Data* list_item = arg.obj;
int min_length = list_item->minlength;
- //int entry_len = safeStrLen(entry_str_utf8);
int entry_len = safeStrLen(list_item->sub_desc);
- SETTING_TRACE(" >>> entry _ len : %d ", entry_len);
+ //SETTING_TRACE(" >>> entry _ len : %d ", entry_len);
+ //SETTING_TRACE(" >>> minlength _ len : %d ", min_length);
if ( entry_len < min_length)
{
return ret;
}
-
-
-
static Eina_Bool ___click_softkey_back_cb(void *data, Evas_Object *obj, void *event_info)
{
SETTING_TRACE_BEGIN;
//-------------------------------------------------------------------------------------------
- setting_hide_input_pannel_cb(obj);
+ //setting_hide_input_pannel_cb(obj);
+
const char *entry_str = elm_entry_entry_get(obj);
char *entry_str_utf8 = NULL;
entry_str_utf8 = elm_entry_markup_to_utf8(entry_str);
int min_length = list_item->minlength;
int entry_len = safeStrLen(entry_str_utf8);
+ SETTING_TRACE(" >>> minlength _ len : %d ", min_length);
SETTING_TRACE(" >>> entry _ len : %d ", entry_len);
+ SETTING_TRACE(" >>> 1");
if (entry_len < min_length) {
if (!list_item->notify) {
{
SETTING_TRACE_BEGIN;
/* error check */
-
+#if 0
retm_if(event_info == NULL, "Invalid argument: event info is NULL");
Elm_Object_Item *item = (Elm_Object_Item *) event_info;
elm_genlist_item_selected_set(item, 0);
if (!elm_object_focus_get(list_item->eo_check)) {
elm_object_focus_set(list_item->eo_check, EINA_TRUE);
}
-
Ecore_IMF_Context *imf_context = (Ecore_IMF_Context *)elm_entry_imf_context_get(list_item->eo_check);
setting_retm_if(imf_context == NULL, "imf_context is NULL");
ecore_imf_context_input_panel_show(imf_context);
+#endif
}
if (maxlength)
{
min_len = atoi(minlength);
- SETTING_TRACE(" >> MINLENGTH FILTER IS AVAILABLE !!!! maxlength = %d", min_len);
+ SETTING_TRACE(" >> MINLENGTH FILTER IS AVAILABLE !!!! minlength = %d", min_len);
}
-
-
Setting_GenGroupItem_Data *list_item = NULL;
if (max_len == -1 && min_len == -1 )
{
// without maxlength filter
- list_item = setting_create_Gendial_field_def(pd->scroller, &(itc_1icon),
+ list_item = setting_create_Gendial_field_def(pd->scroller, &(itc_dialogue_editfield_title),
__editbox_list_cb,
pd, SWALLOW_Type_LAYOUT_ENTRY,
NULL, NULL, 0, title, key_str,
// add max length filter
list_item = setting_create_Gendial_field_entry_fo(
pd->scroller,
- &(itc_1icon),
+ &(itc_dialogue_editfield_title),
__editbox_list_cb,
pd,
SWALLOW_Type_LAYOUT_ENTRY,