case EVENT_DATA_INIT_FAIL_WIRELESS:
priv->wireless_update_requested = false;
/* Failed to initialize wireless */
- //viewmgr_pop_all_views();
-
- /*viewmgr_add_view(view_wireless_get_vclass(), priv);
+ viewmgr_add_view(view_wireless_get_vclass(), priv);
_DBG("Wireless is not activated");
if (!viewmgr_show_view(VIEW_WIRELESS))
- _ERR("Push wireless view failed.");*/
+ _ERR("Push wireless view failed.");
priv->wireless_support = false;
elm_object_signal_emit(priv->ly, SIG_NO_WIRELESS, SRC_ELM);
elm_object_signal_emit(priv->ly, SIG_LOADING_STOP, SRC_ELM);
elm_object_part_text_set(priv->ly, PART_NO_NETWORK_TEXT, STR_NO_NETWORK);
-// listmgr_hide_grid(priv->listmgr, LIST_WIRELESS,
-// PART_WIRELESS_LIST);
break;
case EVENT_DATA_DEACTIVATE_FAIL:
priv = data;
- wifi_popup = utils_add_popup(win, STYLE_POPUP, STR_WIRELESS, NULL);
+ wifi_popup = utils_add_popup(win, NULL, STR_WIRELESS, NULL);
if (!wifi_popup) {
_ERR("Add popup failed");
return NULL;
break;
case EO_YES:
viewmgr_pop_view();
+ viewmgr_remove_view(VIEW_WIRELESS);
datamgr_update(priv->wirelessmgr, WIRELESS_ACTIVATE);
break;
default: