Change theme style for password editfield 43/51343/2 accepted/tizen/mobile/20151109.063413 accepted/tizen/tv/20151109.063422 accepted/tizen/wearable/20151109.063431 submit/tizen/20151109.023355
authorSeonah Moon <seonah1.moon@samsung.com>
Mon, 9 Nov 2015 02:16:30 +0000 (11:16 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Mon, 9 Nov 2015 02:27:27 +0000 (11:27 +0900)
Change-Id: I820ffadf59c7c17b924da750caefd71dfd7095da
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
packaging/wifi-efl-ug.spec
sources/libraries/Common/common_eap_connect.c
sources/libraries/Common/common_ip_info.c
sources/libraries/Common/common_pswd_popup.c
sources/libraries/Common/include/common.h
sources/ui-gadget/include/ug_wifi.h
sources/ui-gadget/viewers-layout/view_detail.c
sources/ui-gadget/viewers-layout/view_ime_hidden.c
sources/ui-gadget/viewers-layout/viewer_manager.c
sources/ui-gadget/viewers-layout/wifi_viewer_list.c
sources/wifi-syspopup/viewer-popups/view-main.c

index 9680e19..c6a1001 100644 (file)
@@ -1,7 +1,7 @@
 %define _unpackaged_files_terminate_build 0
 Name:          wifi-efl-ug
 Summary:       Wi-Fi UI Gadget for TIZEN
-Version:       1.0.157
+Version:       1.0.158
 Release:       1
 Group:         App/Network
 License:       Flora-1.1
index 7efe03b..d0bb95b 100755 (executable)
@@ -414,7 +414,7 @@ static void _create_eap_cert_list(eap_connect_data_t *eap_data,
        ctxpopup = elm_ctxpopup_add(eap_data->win);
        eap_data->sub_popup = ctxpopup;
        elm_object_style_set(ctxpopup, "dropdown/list");
-       eext_object_event_callback_add(ctxpopup, EA_CALLBACK_BACK,
+       eext_object_event_callback_add(ctxpopup, EEXT_CALLBACK_BACK,
                        cert_ctxpopup_dismissed_cb, NULL);
        evas_object_smart_callback_add(ctxpopup,"dismissed",
                        cert_ctxpopup_dismissed_cb, eap_data);
@@ -493,7 +493,7 @@ static char *_gl_eap_user_cert_text_get(void *data, Evas_Object *obj, const char
 {
        eap_connect_data_t *eap_data = (eap_connect_data_t *)data;
 
-       if (!g_strcmp0(part, "elm.text.main")) {
+       if (!g_strcmp0(part, "elm.text.sub")) {
                return g_strdup(sc(eap_data->str_pkg_name,
                                I18N_TYPE_User_Certificate));
        }
@@ -509,7 +509,7 @@ static Evas_Object *_gl_eap_user_cert_content_get(void *data,
        Evas_Object *ly = NULL;
        char buf[100];
 
-       if (!strcmp(part, "elm.icon.entry")) {
+       if (!strcmp(part, "elm.swallow.icon.0")) {
                ly = elm_layout_add(obj);
                elm_layout_file_set(ly, CUSTOM_EDITFIELD_PATH,
                                "eap_dropdown_button");
@@ -565,7 +565,7 @@ static void _create_eap_type_list(eap_connect_data_t *eap_data,
        ctxpopup = elm_ctxpopup_add(eap_data->win);
        eap_data->sub_popup = ctxpopup;
        elm_object_style_set(ctxpopup, "dropdown/list");
-       eext_object_event_callback_add(ctxpopup, EA_CALLBACK_BACK,
+       eext_object_event_callback_add(ctxpopup, EEXT_CALLBACK_BACK,
                        eext_ctxpopup_back_cb, NULL);
        evas_object_smart_callback_add(ctxpopup,"dismissed",
                        ctxpopup_dismissed_cb, eap_data);
@@ -614,7 +614,7 @@ static char *_gl_eap_type_text_get(void *data, Evas_Object *obj, const char *par
 {
        eap_connect_data_t *eap_data = (eap_connect_data_t *)data;
 
-       if (!g_strcmp0(part, "elm.text.main")) {
+       if (!g_strcmp0(part, "elm.text.sub")) {
                return g_strdup(sc(eap_data->str_pkg_name, I18N_TYPE_EAP_method));
        }
 
@@ -630,7 +630,7 @@ static Evas_Object *_gl_eap_type_content_get(void *data,
        Evas_Object *ly = NULL;
        char buf[100];
 
-       if (!strcmp(part, "elm.icon.entry")) {
+       if (!strcmp(part, "elm.swallow.icon.0")) {
                ly = elm_layout_add(obj);
                elm_layout_file_set(ly, CUSTOM_EDITFIELD_PATH,
                                "eap_dropdown_button");
@@ -704,7 +704,7 @@ static void _create_eap_auth_list(eap_connect_data_t *eap_data,
        ctxpopup = elm_ctxpopup_add(eap_data->win);
        eap_data->sub_popup = ctxpopup;
        elm_object_style_set(ctxpopup, "dropdown/list");
-       eext_object_event_callback_add(ctxpopup, EA_CALLBACK_BACK, eext_ctxpopup_back_cb, NULL);
+       eext_object_event_callback_add(ctxpopup, EEXT_CALLBACK_BACK, eext_ctxpopup_back_cb, NULL);
        evas_object_smart_callback_add(ctxpopup,"dismissed", ctxpopup_dismissed_cb, eap_data);
        elm_ctxpopup_direction_priority_set(ctxpopup,
                        ELM_CTXPOPUP_DIRECTION_DOWN,
@@ -752,7 +752,7 @@ static char *_gl_eap_auth_text_get(void *data, Evas_Object *obj, const char *par
 {
        eap_connect_data_t *eap_data = (eap_connect_data_t *)data;
 
-       if (!g_strcmp0(part, "elm.text.main")) {
+       if (!g_strcmp0(part, "elm.text.sub")) {
                return g_strdup(sc(eap_data->str_pkg_name,
                                I18N_TYPE_Phase_2_authentication));
        }
@@ -769,7 +769,7 @@ static Evas_Object *_gl_eap_auth_content_get(void *data,
        Evas_Object *ly = NULL;
        char buf[100];
 
-       if (!strcmp(part, "elm.icon.entry")) {
+       if (!strcmp(part, "elm.swallow.icon.0")) {
                ly = elm_layout_add(obj);
                elm_layout_file_set(ly, CUSTOM_EDITFIELD_PATH,
                                "eap_dropdown_button");
@@ -964,7 +964,7 @@ static char *_gl_eap_entry_item_text_get(void *data, Evas_Object *obj, const cha
                return NULL;
        }
 
-       if (!g_strcmp0(part, "elm.text.main")) {
+       if (!g_strcmp0(part, "elm.text.sub")) {
                return g_strdup(dgettext(PACKAGE, entry_info->title_txt));
        }
 
@@ -978,7 +978,7 @@ static Evas_Object *_gl_eap_entry_item_content_get(void *data, Evas_Object *obj,
                return NULL;
        }
 
-       if (g_strcmp0(part, "elm.icon.entry") == 0) {
+       if (g_strcmp0(part, "elm.swallow.icon.0") == 0) {
                Evas_Object *entry = NULL;
                char *guide_txt = NULL;
                char *accepted = NULL;
@@ -1103,7 +1103,7 @@ static char *_gl_eap_chkbox_item_text_get(void *data, Evas_Object *obj,
 {
        char *str_pkg_name = (char *)data;
 
-       if (!g_strcmp0(part, "elm.text.main.left")) {
+       if (!strcmp("elm.text", part)) {
                char buf[1024];
                snprintf(buf, 1023, "%s", sc(str_pkg_name, I18N_TYPE_Show_password));
                return strdup(buf);
@@ -1117,7 +1117,7 @@ static Evas_Object *_gl_eap_chkbox_item_content_get(void *data,
 {
        Evas_Object *check = NULL;
 
-       if(!g_strcmp0(part, "elm.icon.right")) {
+       if (!strcmp("elm.swallow.end", part)) {
                check = elm_check_add(obj);
                evas_object_propagate_events_set(check, EINA_FALSE);
 
@@ -1159,25 +1159,25 @@ static void gl_lang_changed(void *data, Evas_Object *obj, void *event_info)
 
 static void __common_eap_connect_popup_init_item_class(void *data)
 {
-       g_eap_type_itc.item_style = "entry.main";
+       g_eap_type_itc.item_style = WIFI_GENLIST_2LINE_BOTTOM_SWALLOW_STYLE;
        g_eap_type_itc.func.text_get = _gl_eap_type_text_get;
        g_eap_type_itc.func.content_get = _gl_eap_type_content_get;
        g_eap_type_itc.func.state_get = NULL;
        g_eap_type_itc.func.del = NULL;
 
-       g_eap_auth_itc.item_style = "entry.main";
+       g_eap_auth_itc.item_style = WIFI_GENLIST_2LINE_BOTTOM_SWALLOW_STYLE;
        g_eap_auth_itc.func.text_get = _gl_eap_auth_text_get;
        g_eap_auth_itc.func.content_get = _gl_eap_auth_content_get;
        g_eap_auth_itc.func.state_get = NULL;
        g_eap_auth_itc.func.del = NULL;
 
-       g_eap_user_cert_itc.item_style = "entry.main";
+       g_eap_user_cert_itc.item_style = WIFI_GENLIST_2LINE_BOTTOM_SWALLOW_STYLE;
        g_eap_user_cert_itc.func.text_get = _gl_eap_user_cert_text_get;
        g_eap_user_cert_itc.func.content_get = _gl_eap_user_cert_content_get;
        g_eap_user_cert_itc.func.state_get = NULL;
        g_eap_user_cert_itc.func.del = NULL;
 
-       g_eap_entry_itc.item_style = "entry.main";
+       g_eap_entry_itc.item_style = WIFI_GENLIST_2LINE_BOTTOM_SWALLOW_STYLE;
        g_eap_entry_itc.func.text_get = _gl_eap_entry_item_text_get;
        g_eap_entry_itc.func.content_get = _gl_eap_entry_item_content_get;
        g_eap_entry_itc.func.state_get = NULL;
@@ -1605,6 +1605,7 @@ static Evas_Object* _create_list(Evas_Object* parent, void *data)
 
        eap_data->eap_done_ok = FALSE;
        eap_data->genlist = view_list = elm_genlist_add(parent);
+       //elm_genlist_realization_mode_set(view_list, EINA_TRUE);
        elm_genlist_mode_set(view_list, ELM_LIST_COMPRESS);
        elm_scroller_content_min_limit(view_list, EINA_FALSE, EINA_TRUE);
 
@@ -1627,7 +1628,6 @@ static Evas_Object* _create_list(Evas_Object* parent, void *data)
        /* Create the entry items */
        _create_and_update_list_items_based_on_rules(eap_type, eap_data);
 
-       evas_object_show(view_list);
        evas_object_smart_callback_add(view_list, "language,changed",
                        gl_lang_changed, NULL);
 
@@ -1913,7 +1913,6 @@ eap_connect_data_t *create_eap_view(Evas_Object *layout_main, Evas_Object *win,
 
        Evas_Object *popup = NULL;
        Evas_Object *list = NULL;
-       Evas_Object *box = NULL;
 
        if (layout_main == NULL || device_info == NULL || pkg_name == NULL) {
                return NULL;
@@ -1975,16 +1974,9 @@ eap_connect_data_t *create_eap_view(Evas_Object *layout_main, Evas_Object *win,
        evas_object_show(popup);
        elm_object_focus_set(popup, EINA_TRUE);
 
-       box = elm_box_add(popup);
-       evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-
        /* Create an EAP connect view list */
-       list = _create_list(box, eap_data);
-       elm_object_content_set(box, list);
-
-       elm_box_pack_end(box, list);
-       evas_object_size_hint_min_set(box, -1, ELM_SCALE_SIZE(300));
-       elm_object_content_set(popup, box);
+       list = _create_list(popup, eap_data);
+       elm_object_content_set(popup, list);
 
        evas_object_smart_callback_add(eap_data->conf,
                        "virtualkeypad,state,on", _eap_popup_keypad_on_cb,
index 4ff2961..1f26a20 100755 (executable)
@@ -97,7 +97,7 @@ static char *_ip_info_detail_description_text_get(void *data,
        _view_detail_description_data_t* det =
                        (_view_detail_description_data_t*) data;
 
-       if (0 == strncmp("elm.text.main", part, strlen(part))) {
+       if (0 == strncmp("elm.text.sub", part, strlen(part))) {
                return g_strdup(dgettext(PACKAGE, det->title));
        }
 
@@ -114,7 +114,7 @@ static Evas_Object *_ip_info_detail_description_content_get(void *data,
        _view_detail_description_data_t* det =
                        (_view_detail_description_data_t*) data;
 
-       if (g_strcmp0(part, "elm.icon.entry") == 0) {
+       if (g_strcmp0(part, "elm.swallow.end") == 0) {
                Evas_Object *entry = NULL;
 
                entry = elm_entry_add(obj);
@@ -362,7 +362,7 @@ static char *_ip_info_entry_item_text_get(void *data, Evas_Object *obj, const ch
                return NULL;
        }
 
-       if (!g_strcmp0(part, "elm.text.main")) {
+       if (!g_strcmp0(part, "elm.text.sub")) {
                return g_strdup(dgettext(PACKAGE, entry_info->title_txt));
        }
 
@@ -417,7 +417,7 @@ static Evas_Object *_ip_info_entry_item_content_get(void *data, Evas_Object *obj
                return NULL;
        }
 
-       if (g_strcmp0(part, "elm.icon.entry") == 0) {
+       if (g_strcmp0(part, "elm.swallow.end") == 0) {
                Evas_Object *entry = NULL;
                char *guide_txt = NULL;
                char *accepted = NULL;
@@ -763,7 +763,7 @@ static char* _ip_info_iptoggle_text_get(void *data, Evas_Object *obj,
        retvm_if(NULL == data || NULL == part, NULL);
        full_ip_info_t *ip_data = (full_ip_info_t *) data;
 
-       if (!strncmp(part, "elm.text.main.left", strlen(part))) {
+       if (!strcmp("elm.text", part)) {
                ip_info_list_t *ip_info_list_data = ip_data->ip_info_list;
 #ifdef ACCESSIBLITY_FEATURE
                char buf[100];
@@ -905,15 +905,10 @@ static Evas_Object *_ip_info_iptoggle_content_get(void *data,
        retvm_if(NULL == data || NULL == obj || NULL == part, NULL);
        full_ip_info_t *ip_data = (full_ip_info_t *) data;
        ip_info_list_t *ip_info_list_data = ip_data->ip_info_list;
-       Evas_Object *ic = NULL;
        Evas_Object *toggle_btn = NULL;
 
-       ic = elm_layout_add(obj);
-
-       if (!g_strcmp0(part, "elm.icon.2")) {
-               elm_layout_theme_set(ic, "layout", "list/C/type.3", "default");
-
-               toggle_btn = elm_check_add(ic);
+       if (!strcmp("elm.swallow.end", part)) {
+               toggle_btn = elm_check_add(obj);
                elm_object_style_set(toggle_btn, "on&off");
                elm_object_focus_allow_set(toggle_btn, EINA_FALSE);
                if (WIFI_IP_CONFIG_TYPE_STATIC == ip_info_list_data->ip_type) {
@@ -925,11 +920,10 @@ static Evas_Object *_ip_info_iptoggle_content_get(void *data,
                evas_object_propagate_events_set(toggle_btn, EINA_FALSE);
                evas_object_size_hint_align_set(toggle_btn, EVAS_HINT_FILL, EVAS_HINT_FILL);
                evas_object_size_hint_weight_set(toggle_btn, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-               elm_layout_content_set(ic, "elm.swallow.content", toggle_btn);
                evas_object_smart_callback_add(toggle_btn, "changed",
                                __ip_info_toggle_item_sel_cb, ip_data);
        }
-       return ic;
+       return toggle_btn;
 }
 
 #if 0
@@ -1069,19 +1063,19 @@ full_ip_info_t *ip_info_append_items(wifi_ap_h ap, const char *pkg_name,
        ip_info_list_data->input_panel_cb = input_panel_cb;
        ip_info_list_data->input_panel_cb_data = input_panel_cb_data;
 
-       ip_toggle_itc.item_style = "1line";
+       ip_toggle_itc.item_style = WIFI_GENLIST_1LINE_TEXT_ICON_STYLE;
        ip_toggle_itc.func.text_get = _ip_info_iptoggle_text_get;
        ip_toggle_itc.func.content_get = _ip_info_iptoggle_content_get;
        ip_toggle_itc.func.state_get = NULL;
        ip_toggle_itc.func.del = NULL;
 
-       description_itc.item_style = "entry.main";
+       description_itc.item_style = WIFI_GENLIST_2LINE_BOTTOM_SWALLOW_STYLE;
        description_itc.func.text_get = _ip_info_detail_description_text_get;
        description_itc.func.content_get = _ip_info_detail_description_content_get;
        description_itc.func.state_get = NULL;
        description_itc.func.del = _ip_info_detail_description_del;
 
-       ip_entry_itc.item_style = "entry.main";
+       ip_entry_itc.item_style = WIFI_GENLIST_2LINE_BOTTOM_SWALLOW_STYLE;
        ip_entry_itc.func.text_get = _ip_info_entry_item_text_get;
        ip_entry_itc.func.content_get = _ip_info_entry_item_content_get;
        ip_entry_itc.func.state_get = NULL;
index 61d5bc1..52e7f1c 100755 (executable)
@@ -449,7 +449,7 @@ static Evas_Object* _gl_pswd_entry_item_content_get(void *data,
        static Elm_Entry_Filter_Limit_Size limit_filter_data;
        pswd_popup_t *pswd_popup_data = (pswd_popup_t *)data;
 
-       if (!g_strcmp0(part, "elm.icon.entry")) {
+       if (!g_strcmp0(part, "elm.swallow.content")) {
                editfield = elm_layout_add(obj);
                elm_layout_theme_set(editfield, "layout", "editfield", "singleline");
                evas_object_size_hint_align_set(editfield, EVAS_HINT_FILL, 0.0);
@@ -512,6 +512,7 @@ static void _chk_changed_cb(void *data, Evas_Object *obj, void *ei)
        } else {
                elm_entry_password_set((Evas_Object *)data, EINA_TRUE);
        }
+       elm_entry_cursor_end_set((Evas_Object *)data);
 }
 static char *_gl_pswd_check_box_item_text_get(void *data, Evas_Object *obj,
                const char *part)
@@ -717,7 +718,7 @@ pswd_popup_t *create_passwd_popup(Evas_Object *conformant,Evas_Object *win_main,
        evas_object_size_hint_align_set(genlist, EVAS_HINT_FILL, EVAS_HINT_FILL);
 
        /* Entry genlist item */
-       g_pswd_entry_itc.item_style = "entry";
+       g_pswd_entry_itc.item_style = WIFI_GENLIST_SWALLOW_CONTENT_STYLE;
        g_pswd_entry_itc.func.text_get = NULL;
        g_pswd_entry_itc.func.content_get = _gl_pswd_entry_item_content_get;
        g_check_box_itc.func.state_get = NULL;
@@ -751,6 +752,7 @@ pswd_popup_t *create_passwd_popup(Evas_Object *conformant,Evas_Object *win_main,
                                _common_wps_options_popup_cb, pswd_popup_data);
        }
 
+       //elm_genlist_realization_mode_set(genlist, EINA_TRUE);
        evas_object_show(genlist);
 
        elm_object_content_set(passpopup, genlist);
index 136b242..93a71f6 100755 (executable)
@@ -78,8 +78,12 @@ extern "C"
 #define WIFI_GENLIST_MULTILINE_TEXT_STYLE "multiline"
 #define WIFI_GENLIST_GROUP_INDEX_STYLE "group_index"
 
+/* Genlist new style for Tizen 3.0 */
+#define WIFI_GENLIST_2LINE_BOTTOM_SWALLOW_STYLE "type2"
+#define WIFI_GENLIST_SWALLOW_CONTENT_STYLE "full"
+
 /* Icon Size*/
-#define DEFAULT_BG_SIZE 96
+#define DEFAULT_BG_SIZE 60
 #define DEFAULT_BUTTON_CIRCLE_SIZE 40
 
 typedef enum {
index f7e05e4..64493f0 100644 (file)
@@ -37,7 +37,6 @@ extern "C"
 #include "winset_popup.h"
 #include "wlan_manager.h"
 #include "viewer_manager.h"
-#include <efl_assist.h>
 #include <efl_util.h>
 
 #define PACKAGE                "ug-wifi-efl-UG"
index 50c2390..6ce1f36 100755 (executable)
@@ -643,6 +643,7 @@ void view_detail(wifi_device_info_t *device_info, Evas_Object *win_main,
 
        detailview_list = elm_genlist_add(layout);
        assertm_if(NULL == detailview_list, "NULL!!");
+       //elm_genlist_realization_mode_set(detailview_list, EINA_TRUE);
 
        elm_object_style_set(detailview_list, "dialogue");
        _detail_data->view_detail_list = detailview_list;
index 8e1291a..8fd3d1e 100644 (file)
@@ -293,6 +293,7 @@ void view_hidden_ap_popup_create(Evas_Object *win_main, const char *str_pkg_name
        genlist = elm_genlist_add(passpopup);
        evas_object_size_hint_weight_set(genlist, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
        evas_object_size_hint_align_set(genlist, EVAS_HINT_FILL, EVAS_HINT_FILL);
+       //elm_genlist_realization_mode_set(genlist, EINA_TRUE);
        elm_scroller_content_min_limit(genlist, EINA_FALSE, EINA_TRUE);
 
        g_entry_itc.item_style = "entry";
index 22a4df6..3ceb03c 100755 (executable)
@@ -546,9 +546,9 @@ static void _more_button_cb(void *data, Evas_Object *obj, void *event_info)
        manager_object->ctxpopup = elm_ctxpopup_add(parent);
        elm_ctxpopup_auto_hide_disabled_set(manager_object->ctxpopup, EINA_TRUE);
        elm_object_style_set(manager_object->ctxpopup, "more/default");
-       eext_object_event_callback_add(manager_object->ctxpopup, EA_CALLBACK_BACK,
+       eext_object_event_callback_add(manager_object->ctxpopup, EEXT_CALLBACK_BACK,
                        _ctxpopup_del_cb, NULL);
-       eext_object_event_callback_add(manager_object->ctxpopup, EA_CALLBACK_MORE,
+       eext_object_event_callback_add(manager_object->ctxpopup, EEXT_CALLBACK_MORE,
                        _ctxpopup_del_cb, NULL);
        evas_object_smart_callback_add(manager_object->ctxpopup, "dismissed",
                        _ctxpopup_dismissed_cb, _win_main);
@@ -686,19 +686,16 @@ static Evas_Object *_gl_wifi_onoff_content_get(void *data,
 
        Evas_Object *c = NULL;
 
-       Evas_Object *icon = NULL;
 #ifdef ACCESSIBLITY_FEATURE
        Evas_Object *ao = NULL;
 #endif
 
        if (!strcmp("elm.swallow.end", part)) {
-               icon = elm_layout_add(obj);
-               elm_layout_theme_set(icon, "layout", "list/C/type.3", "default");
 
                switch (manager_object -> header_mode) {
                case HEADER_MODE_OFF:
                        /* Wi-Fi off indication button */
-                       c = elm_check_add(icon);
+                       c = elm_check_add(obj);
                        elm_object_style_set(c, "on&off");
                        evas_object_propagate_events_set(c, EINA_FALSE);
                        elm_check_state_set(c, EINA_FALSE);
@@ -714,7 +711,7 @@ static Evas_Object *_gl_wifi_onoff_content_get(void *data,
                case HEADER_MODE_ACTIVATING:
                case HEADER_MODE_DEACTIVATING:
                        /* Progress animation */
-                       c = elm_progressbar_add(icon);
+                       c = elm_progressbar_add(obj);
                        elm_object_style_set(c, "process_medium");
                        evas_object_size_hint_align_set(c, EVAS_HINT_FILL, 0.5);
                        evas_object_size_hint_weight_set(c, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
@@ -723,7 +720,7 @@ static Evas_Object *_gl_wifi_onoff_content_get(void *data,
 
                default:
                        /* Wi-Fi on indication button */
-                       c = elm_check_add(icon);
+                       c = elm_check_add(obj);
                        elm_object_style_set(c, "on&off");
                        evas_object_propagate_events_set(c, EINA_FALSE);
                        elm_check_state_set(c, EINA_TRUE);
@@ -738,10 +735,9 @@ static Evas_Object *_gl_wifi_onoff_content_get(void *data,
                }
                evas_object_size_hint_align_set(c, EVAS_HINT_FILL, EVAS_HINT_FILL);
                evas_object_size_hint_weight_set(c, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-               elm_layout_content_set(icon, "elm.swallow.content", c);
        }
 
-       return icon;
+       return c;
 }
 
 static void __viewer_manager_wifi_onoff_item_create(Evas_Object* genlist)
@@ -1036,7 +1032,7 @@ static void __viewer_manager_create_setup_wizard_content(Evas_Object *layout)
        elm_object_domain_translatable_part_text_set(layout, "text.title",
                PACKAGE, sc(PACKAGE, I18N_TYPE_Wi_Fi));
 
-       eext_object_event_callback_add(manager_object->nav, EA_CALLBACK_BACK,
+       eext_object_event_callback_add(manager_object->nav, EEXT_CALLBACK_BACK,
                        __ea_setup_wizard_back_cb, NULL);
 
        __viewer_manager_wifi_onoff_item_create(manager_object->list);
@@ -1086,7 +1082,7 @@ static void __viewer_manager_create_wifi_ug_content(Evas_Object *layout,
 
        elm_object_part_content_set(layout, "elm.swallow.content", manager_object->list);
 
-       eext_object_event_callback_add(manager_object->nav, EA_CALLBACK_BACK, eext_naviframe_back_cb, NULL);
+       eext_object_event_callback_add(manager_object->nav, EEXT_CALLBACK_BACK, eext_naviframe_back_cb, NULL);
 
        back_btn = elm_button_add(manager_object->nav);
        elm_object_style_set(back_btn, "naviframe/back_btn/default");
@@ -1163,7 +1159,7 @@ Evas_Object *viewer_manager_create(Evas_Object *_parent, Evas_Object *_win_main)
        elm_object_part_content_set(layout,
                        "elm.swallow.content", manager_object->nav);
        elm_naviframe_prev_btn_auto_pushed_set(manager_object->nav, EINA_FALSE);
-       eext_object_event_callback_add(manager_object->nav, EA_CALLBACK_MORE,
+       eext_object_event_callback_add(manager_object->nav, EEXT_CALLBACK_MORE,
                        eext_naviframe_more_cb, NULL);
 
        /* Add layout for custom styles */
@@ -1515,8 +1511,13 @@ void viewer_manager_header_mode_set(HEADER_MODES new_mode)
        }
 
        old_mode = manager_object->header_mode;
-       if (old_mode == new_mode)
+       if (old_mode == new_mode) {
+               if (new_mode == HEADER_MODE_OFF && manager_object->scan_button) {
+                       evas_object_del(manager_object->scan_button);
+                       manager_object->scan_button = NULL;
+               }
                return;
+       }
 
        DEBUG_LOG(UG_NAME_NORMAL, "Header mode %d --> %d", old_mode, new_mode);
 
index 5cb79af..4c3ec3f 100755 (executable)
@@ -929,7 +929,7 @@ Evas_Object* viewer_list_create(Evas_Object *win)
        // To use multiline textblock/entry/editfield in genlist, set height_for_width mode
        // then the item's height is calculated while the item's width fits to genlist width.
        elm_genlist_mode_set(viewer_list, ELM_LIST_COMPRESS);
-       elm_genlist_homogeneous_set(viewer_list, EINA_TRUE);
+       //elm_genlist_realization_mode_set(viewer_list, EINA_TRUE);
 
        evas_object_size_hint_weight_set(viewer_list, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
        evas_object_size_hint_align_set(viewer_list, EVAS_HINT_FILL, EVAS_HINT_FILL);
index 68abdec..e467907 100755 (executable)
@@ -706,7 +706,7 @@ static Evas_Object *_create_genlist(Evas_Object* parent)
        list = elm_genlist_add(parent);
        assertm_if(NULL == list, "list allocation fail!!");
        elm_genlist_mode_set(list, ELM_LIST_COMPRESS);
-       elm_genlist_homogeneous_set(list, EINA_TRUE);
+       //elm_genlist_realization_mode_set(list, EINA_TRUE);
 
        evas_object_size_hint_weight_set(list, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
        evas_object_size_hint_align_set(list, EVAS_HINT_FILL, EVAS_HINT_FILL);