- else
- g_warning ("%s: possible error in a mail operation "\
- "implementation. The status is not succesful"\
- "but the mail operation does not have any "\
- "error set\n", __FUNCTION__);
+ else {
+ if (status == MODEST_MAIL_OPERATION_STATUS_CANCELED)
+ g_warning ("%s: operation canceled \n", __FUNCTION__);
+ else
+ g_warning ("%s: possible error in a mail operation " \
+ "implementation. The status is not succesful" \
+ "but the mail operation does not have any " \
+ "error set\n", __FUNCTION__);
+ }