aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-session-utils.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-31 08:56:51 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2010-11-10 06:33:19 +0800
commitf544e10b71f0c80ee0cf8eb2edde0620fd7f4e70 (patch)
treece9ae3ff4410ce575a8f7c8717159380126db014 /mail/e-mail-session-utils.h
parent7b7d920a755ebf8fc54cf5bf26c287b480f019ed (diff)
downloadgsoc2013-evolution-f544e10b71f0c80ee0cf8eb2edde0620fd7f4e70.tar.gz
gsoc2013-evolution-f544e10b71f0c80ee0cf8eb2edde0620fd7f4e70.tar.zst
gsoc2013-evolution-f544e10b71f0c80ee0cf8eb2edde0620fd7f4e70.zip
Skip writing to Outbox when sending.
When sending a message from a composer window, it seems pointless to write message to Outbox only to immediately read it back and mark it for deletion. Instead, bypass the Outbox folder when sending, and if an error occurs, offer to save the message to Outbox instead.
Diffstat (limited to 'mail/e-mail-session-utils.h')
-rw-r--r--mail/e-mail-session-utils.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/e-mail-session-utils.h b/mail/e-mail-session-utils.h
index fcbc2636f7..4d97524f5d 100644
--- a/mail/e-mail-session-utils.h
+++ b/mail/e-mail-session-utils.h
@@ -58,8 +58,7 @@ gboolean e_mail_session_handle_source_headers_finish
GAsyncResult *result,
GError **error);
void e_mail_session_send_to (EMailSession *session,
- CamelFolder *outbox_folder,
- const gchar *message_uid,
+ CamelMimeMessage *message,
const gchar *destination,
gint io_priority,
GCancellable *cancellable,