From 3ca27fca1bcebf7a196d47d22b24329b9d1577f6 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 19 Sep 2002 20:49:16 +0000 Subject: Unset the changed bit on the composer and also drop any undo operations 2002-09-19 Jeffrey Stedfast * mail-callbacks.c (do_edit_messages): Unset the changed bit on the composer and also drop any undo operations (since we loaded the message into the composer). Fixes bug #30580. svn path=/trunk/; revision=18127 --- mail/mail-callbacks.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/mail-callbacks.c') diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 571470ba3c..9f4fbf71cc 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -2301,6 +2301,8 @@ do_edit_messages (CamelFolder *folder, GPtrArray *uids, GPtrArray *messages, voi camel_medium_remove_header (CAMEL_MEDIUM (messages->pdata[i]), "X-Mailer"); composer = e_msg_composer_new_with_message (messages->pdata[i]); + e_msg_composer_unset_changed (composer); + e_msg_composer_drop_editor_undo (composer); if (composer) { ccd = ccd_new (); -- cgit v1.2.3