From df1f9b3b33de886c5b9a63b0ee6e722bfea4b2e0 Mon Sep 17 00:00:00 2001 From: Yan Li Date: Thu, 5 Nov 2009 11:50:34 +0800 Subject: 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. --- mail/em-composer-utils.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/em-composer-utils.c') 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); -- cgit v1.2.3