void _popup_connecting_wireless_status(struct _priv *priv)
{
Evas_Object *ly, *stop_btn;
+ _destroy_wireless_status_popup();
connecting_wireless_popup = utils_add_popup(priv->base, STYLE_POPUP, STR_WIRELESS, NULL);
if (!connecting_wireless_popup) {
_ERR("Add popup failed");
void _popup_connected_wireless_status(struct _priv *priv)
{
Evas_Object *ly, *done_btn;
+ _destroy_wireless_status_popup();
connected_wireless_popup = utils_add_popup(priv->base, STYLE_POPUP, STR_WIRELESS, NULL);
if (!connected_wireless_popup) {
_ERR("Add popup failed");
void _popup_failed_wireless_status(struct _priv *priv)
{
Evas_Object *ly, *close_btn, *retry_btn;
+ _destroy_wireless_status_popup();
failed_wireless_popup = utils_add_popup(priv->base, STYLE_POPUP, STR_WIRELESS, NULL);
if (!failed_wireless_popup) {
_ERR("Add popup failed");
} else {
if (!viewmgr_update_view(VIEW_WIRELESS_LIST, VIEW_HIDE, priv))
_ERR("Hide view failed");
- evas_object_hide(failed_wireless_popup);
- evas_object_hide(connected_wireless_popup);
_popup_connecting_wireless_status(priv);
if (!datamgr_select(priv->wirelessmgr, it, NULL)) {
_ERR("Unavailable status for selecting wifi.");
case EVENT_DATA_SELECT_FAIL:
_DBG("Failed to connect");
- evas_object_hide(connecting_wireless_popup);
- evas_object_hide(connected_wireless_popup);
_popup_failed_wireless_status(priv);
/* listmgr_foreach_list(priv->listmgr, LIST_WIRELESS,
case EVENT_DATA_CONNECTED:
_DBG("Connected succesfully");
- evas_object_hide(connecting_wireless_popup);
- evas_object_hide(failed_wireless_popup);
_popup_connected_wireless_status(priv);
elm_object_item_signal_emit(priv->connecting_wireless_item,
SIG_LOADING_STOP, SRC_ELM);
break;
case EVENT_DATA_INVALID_PWD_WIRELESS: {
- evas_object_hide(connecting_wireless_popup);
- evas_object_hide(connected_wireless_popup);
_popup_failed_wireless_status(priv);
_DBG("Invalid password");
{
_DBG("Done Key Pressed from IME");
- evas_object_hide(failed_wireless_popup);
- evas_object_hide(connected_wireless_popup);
_popup_connecting_wireless_status(priv);
_connect_wifi_with_passcode(priv);
}