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/ChangeLog | 6 ++++++ mail/mail-callbacks.c | 2 ++ 2 files changed, 8 insertions(+) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 76dd90d187..beaa57c795 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +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. + 2002-09-19 Not Zed * mail-session.c (main_get_filter_driver): Fix for filter driver 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