aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 873dc7e6ab..150231297e 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -161,7 +161,8 @@ fetch_mail (GtkWidget *button, gpointer user_data)
camel_service_connect_with_url (CAMEL_SERVICE (store),
url, ex);
if (camel_exception_get_id (ex) != CAMEL_EXCEPTION_NONE) {
- mail_exception_dialog ("Unable to get new mail", ex, fb);
+ if (camel_exception_get_id (ex) != CAMEL_EXCEPTION_USER_CANCEL)
+ mail_exception_dialog ("Unable to get new mail", ex, fb);
goto cleanup;
}