int ret = -1;
char *default_text = NULL;
char *guide_text = NULL;
- char *return_key_type = NULL;
+ char *return_key_type = "SEND";
char *max_text_length = NULL;
input_keyboard_deinit();
g_input_keyboard_data.default_text = NULL;
g_input_keyboard_data.guide_text = NULL;
- g_input_keyboard_data.return_key_type = NULL;
+ g_input_keyboard_data.return_key_type = "SEND";
g_input_keyboard_data.max_text_length = KEYBOARD_EDITOR_CHAR_COUNT_MAX;
return;
elm_box_pack_end(box, entry);
Evas_Object *btn = elm_button_add(box);
- elm_object_text_set(btn, "SEND");
+ elm_object_text_set(btn, g_input_keyboard_data.return_key_type);
evas_object_size_hint_weight_set(btn, EVAS_HINT_EXPAND, 0.5);
evas_object_size_hint_align_set(btn, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_smart_callback_add(btn, "clicked", btn_clicked_cb, NULL);