- elm_object_content_set(app_state->alertpopup, box);
- evas_object_size_hint_weight_set(app_state->alertpopup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- evas_object_show(app_state->alertpopup);
-
- __COMMON_FUNC_EXIT__;
-
- return TRUE;
-}
-
-int view_alerts_connection_fail_show(void)
-{
- __COMMON_FUNC_ENTER__;
-
- if (WIFI_SYSPOPUP_SUPPORT_QUICKPANEL == app_state->wifi_syspopup_support) {
- __COMMON_FUNC_EXIT__;
-
- return TRUE;
- }
-
- if (NULL != app_state->alertpopup) {
- evas_object_del(app_state->alertpopup);
- app_state->alertpopup = NULL;
- }
-
- app_state->alertpopup = elm_popup_add(app_state->win_main);
- elm_object_text_set(app_state->alertpopup, "Connection attempt failed.<br>Try again.");
- elm_popup_timeout_set(app_state->alertpopup, 2.0f);
- evas_object_smart_callback_add(app_state->alertpopup, "timeout", _timeout_cb, NULL);
- evas_object_size_hint_weight_set(app_state->alertpopup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- evas_object_show(app_state->alertpopup);
+ elm_object_content_set(syspopup_app_state->alertpopup, box);
+ evas_object_size_hint_weight_set(syspopup_app_state->alertpopup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ evas_object_show(syspopup_app_state->alertpopup);