aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.c
diff options
context:
space:
mode:
authorYan Li <yanli@infradead.org>2009-11-05 11:50:34 +0800
committerYan Li <yanli@infradead.org>2009-11-05 11:50:34 +0800
commitdf1f9b3b33de886c5b9a63b0ee6e722bfea4b2e0 (patch)
treee5d12251978944e33a477d8d818c4f7feb96b7e8 /mail/em-composer-utils.c
parentca509c991bdf8009f1e359d5b283788bb7f94cc5 (diff)
downloadgsoc2013-evolution-df1f9b3b33de886c5b9a63b0ee6e722bfea4b2e0.tar.gz
gsoc2013-evolution-df1f9b3b33de886c5b9a63b0ee6e722bfea4b2e0.tar.zst
gsoc2013-evolution-df1f9b3b33de886c5b9a63b0ee6e722bfea4b2e0.zip
Bug #596027: In Anjal, although invalid mail address warning popup, mail's tab closed automatically
A new field "mail_sent" is added to the Composer to indicate whether the mail is sent successfully or not. This is needed by Anjal to know whether it can destroy the composer or not.
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r--mail/em-composer-utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index f03a66d7f5..60b795a2e1 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -1,3 +1,5 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -469,6 +471,7 @@ em_utils_composer_send_cb (EMsgComposer *composer)
camel_object_ref (folder);
/* mail the message */
+ e_msg_composer_set_mail_sent (composer, TRUE);
info = camel_message_info_new (NULL);
camel_message_info_set_flags (info, CAMEL_MESSAGE_SEEN, ~0);