aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/e-mail-backend.c')
-rw-r--r--mail/e-mail-backend.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c
index 7665a64f8b..dd8f69ac53 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -434,7 +434,10 @@ mail_backend_job_finished_cb (CamelSession *session,
activity = g_hash_table_lookup (priv->jobs, cancellable);
description = e_activity_get_text (activity);
- if (error != NULL) {
+ if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
+ /* ignore cancellations */
+
+ } else if (error != NULL) {
EShell *shell;
GList *list, *iter;