setting_change_view(VIEW_SETTING, ugd);
} else if (!strcmp(ugd->start_view_type, EMAIL_BUNDLE_VAL_VIEW_FIRST_SETUP)) {
debug_log("Setup wizard is up");
- setting_change_view(VIEW_INITIAL_ACCESS, ugd);
+ ugd->account_info = NULL;
+ setting_change_view(VIEW_ACCOUNT_SETUP, ugd);
} else if (!strcmp(ugd->start_view_type, EMAIL_BUNDLE_VAL_VIEW_ACCOUNT_EDIT)) {
debug_log("Edit view is up");
setting_change_view(VIEW_SYNC_SCHEDULE, ugd);
}
} else if (!strcmp(ugd->start_view_type, EMAIL_BUNDLE_VAL_VIEW_SELECT_ACCOUNT)) {
debug_log("select account view is up");
- setting_change_view(VIEW_SP_SELECT, ugd);
+ ugd->account_info = NULL;
+ setting_change_view(VIEW_ACCOUNT_SETUP, ugd);
} else {
setting_change_view(VIEW_SETTING, ugd);
}
return;
}
- if (p->entry_account_name) {
- elm_object_focus_allow_set(p->entry_account_name, EINA_FALSE);
- }
-
- if (p->entry_email_address) {
- elm_object_focus_allow_set(p->entry_email_address, EINA_FALSE);
- }
-
- if (p->entry_password) {
- elm_object_focus_allow_set(p->entry_password, EINA_FALSE);
- }
-
- Ecore_IMF_Context *imf_context = NULL;
- imf_context = elm_entry_imf_context_get(p->clicked_object);
- if (imf_context) {
- ecore_imf_context_input_panel_hide(imf_context);
- ecore_imf_context_input_panel_event_callback_del(imf_context,
- ECORE_IMF_INPUT_PANEL_STATE_EVENT, _input_panel_state_changed_cb);
- }
-
- elm_object_disabled_set(p->l_button, EINA_TRUE);
- elm_object_disabled_set(p->r_button, EINA_TRUE);
- elm_object_disabled_set(p->r_button2, EINA_TRUE);
- elm_object_disabled_set(p->manual_btn, EINA_TRUE);
- elm_object_disabled_set(p->tool_btn, EINA_TRUE);
-
if (!strcmp(vd->ugd->start_view_type, "account-add")) {
ug_destroy_me(vd->ugd->ug);
+ } else if (!strcmp(vd->ugd->start_view_type, EMAIL_BUNDLE_VAL_VIEW_FIRST_SETUP) ||
+ !strcmp(vd->ugd->start_view_type, EMAIL_BUNDLE_VAL_VIEW_SELECT_ACCOUNT)) {
+ elm_win_lower(vd->ugd->win);
} else {
setting_back_to_prev_view(vd);
}
if(ugd->account_count >= MAX_ACCOUNT_COUNT) {
_create_max_account_popup_create(ugd);
} else {
- setting_change_view(VIEW_SP_SELECT, vd->ugd);
+ ugd->account_info = NULL;
+ setting_change_view(VIEW_ACCOUNT_SETUP, vd->ugd);
}
}