*
* Copyright 2012 Samsung Electronics Co., Ltd
-* Licensed under the Flora License, Version 1.0 (the "License");
+* Licensed under the Flora License, Version 1.1 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
char msg[WFD_POP_STR_MAX_LEN] = {0};
char *format_str = NULL;
- WFD_APP_LOG(WFD_APP_LOG_HIGH, "popup resp : %d\n", resp);
+ WFD_APP_LOG(WFD_APP_LOG_HIGH, "popup resp : %lu\n", resp);
switch (resp) {
case /* MT */ WFD_POP_RESP_APRV_CONNECT_PBC_YES:
char *txt = elm_entry_markup_to_utf8(elm_entry_entry_get((const Evas_Object *) imf_context));
if (NULL != txt) {
- WFD_APP_LOG(WFD_APP_LOG_LOW, "* text [%s], len=[%d]", txt, strlen(txt));
+ WFD_APP_LOG(WFD_APP_LOG_LOW, "* text [%s], len=[%zu]", txt, strlen(txt));
strncpy(connection->wps_pin, txt, sizeof(connection->wps_pin) - 1);
WFD_IF_FREE_MEM(txt);
} else {
Evas_Object *entry = NULL;
Evas_Object *button = NULL;
Ecore_IMF_Context *imf_context;
- if (g_strcmp0(part, "elm.icon.entry")) {
+ if (g_strcmp0(part, "elm.swallow.content")) {
__WFD_APP_FUNC_EXIT__;
return NULL;
}
evas_object_event_callback_add(entry, EVAS_CALLBACK_KEY_DOWN,
_entry_keydown_cb, ad);
- elm_object_content_set(obj, entry);
evas_object_show(entry);
evas_object_smart_callback_add(entry, "changed", _smart_ime_cb, NULL);
elm_object_focus_set(entry, EINA_TRUE);
elm_genlist_item_selected_set(item, EINA_FALSE);
Eina_Bool state = elm_check_state_get(ck);
elm_check_state_set(ck, !state);
- if (ad)
- _chk_changed_cb(ad->pin_entry, ck, NULL);
+ _chk_changed_cb(ad->pin_entry, ck, NULL);
__WFD_APP_FUNC_EXIT__;
}
ad->pin_entry_itc = elm_genlist_item_class_new();
if (ad->pin_entry_itc != NULL) {
- ad->pin_entry_itc->item_style = "entry";
+ ad->pin_entry_itc->item_style = WFD_GENLIST_SWALLOW_CONTENT_STYLE;
ad->pin_entry_itc->func.text_get = NULL;
ad->pin_entry_itc->func.content_get = __wfd_pin_entry_icon_get;
ad->pin_entry_itc->func.state_get = NULL;