aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r--mail/em-account-editor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index f2776d6b56..08126ea592 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -3598,7 +3598,7 @@ emae_check_complete (EConfig *ec, const gchar *pageid, gpointer data)
}
if (ok && (pageid == NULL || !strcmp (pageid, "10.receive"))) {
- if (emae->type == EMAE_PAGES && refresh) {
+ if (emae->type != EMAE_NOTEBOOK && refresh) {
emae_refresh_providers (emae, &emae->priv->source);
}
ok = emae_service_complete (emae, &emae->priv->source);
@@ -3608,7 +3608,7 @@ emae_check_complete (EConfig *ec, const gchar *pageid, gpointer data)
}
if (ok && (pageid == NULL || !strcmp (pageid, "30.send"))) {
- if (emae->type == EMAE_PAGES && refresh) {
+ if (emae->type != EMAE_NOTEBOOK && refresh) {
emae_refresh_providers (emae, &emae->priv->transport);
}
ok = emae_service_complete (emae, &emae->priv->transport);