diff options
Diffstat (limited to 'mail/mail-account-editor.c')
-rw-r--r-- | mail/mail-account-editor.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/mail-account-editor.c b/mail/mail-account-editor.c index 26547915ac..fa706b5e0d 100644 --- a/mail/mail-account-editor.c +++ b/mail/mail-account-editor.c @@ -91,7 +91,7 @@ apply_changes (MailAccountEditor *editor) { MailConfigAccount *account; int page = -1; - + if (!mail_account_gui_identity_complete (editor->gui) || !mail_account_gui_management_complete (editor->gui)) page = 0; @@ -99,16 +99,16 @@ apply_changes (MailAccountEditor *editor) page = 1; else if (!mail_account_gui_transport_complete (editor->gui)) page = 3; - + if (page != -1) { gtk_notebook_set_page (editor->notebook, page); e_notice (NULL, GNOME_MESSAGE_BOX_ERROR, _("You have not filled in all of the required information.")); return FALSE; } - + mail_account_gui_save (editor->gui); account = editor->gui->account; - + /* save any changes we may have */ mail_config_write (); return TRUE; |