aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-callbacks.c2
2 files changed, 8 insertions, 0 deletions
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 <fejj@ximian.com>
+
+ * 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 <NotZed@Ximian.com>
* 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 ();