EMailBackend: Ignore cancelled background jobs.

This commit is contained in:
Matthew Barnes
2011-04-25 07:14:06 -04:00
committed by Rodrigo Moya
parent d1996edbe7
commit 3a69a315de

View File

@ -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;