diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-01-22 06:40:22 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-01-22 06:40:22 +0800 |
commit | 54ae8f0a7dfd79bed00757ef1f17f0ede085a7a3 (patch) | |
tree | 6ccb94678a99f3e6ab8b464a170893aa16df3726 /mail/e-mail-session-utils.h | |
parent | b1565f53d797fe4dbbf7256eca060eb4d8ee9ee4 (diff) | |
download | gsoc2013-evolution-54ae8f0a7dfd79bed00757ef1f17f0ede085a7a3.tar.gz gsoc2013-evolution-54ae8f0a7dfd79bed00757ef1f17f0ede085a7a3.tar.zst gsoc2013-evolution-54ae8f0a7dfd79bed00757ef1f17f0ede085a7a3.zip |
Bug 640091 - Improve error handling during send post-processing
If a newly-composed message was successfully sent but an error occurred
during post-processing (outgoing filters or appending to a Sent folder),
close the composer window and show an alert in the main window.
Diffstat (limited to 'mail/e-mail-session-utils.h')
-rw-r--r-- | mail/e-mail-session-utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/e-mail-session-utils.h b/mail/e-mail-session-utils.h index e7ec28dd2d..c59d27f335 100644 --- a/mail/e-mail-session-utils.h +++ b/mail/e-mail-session-utils.h @@ -23,8 +23,15 @@ #include <mail/e-mail-session.h> +#define E_MAIL_ERROR (e_mail_error_quark ()) + G_BEGIN_DECLS +typedef enum { + E_MAIL_ERROR_POST_PROCESSING +} EMailError; + +GQuark e_mail_error_quark (void) G_GNUC_CONST; gboolean e_mail_session_handle_draft_headers_sync (EMailSession *session, CamelMimeMessage *message, |