aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-09-20 04:49:16 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-09-20 04:49:16 +0800
commit3ca27fca1bcebf7a196d47d22b24329b9d1577f6 (patch)
tree718d01b78fcf4dcfef24f04e26164a3d5cb59318
parentd4f22aebb0cd2fd8d9e2032e5e2bfe49c8328f1a (diff)
downloadgsoc2013-evolution-3ca27fca1bcebf7a196d47d22b24329b9d1577f6.tar.gz
gsoc2013-evolution-3ca27fca1bcebf7a196d47d22b24329b9d1577f6.tar.zst
gsoc2013-evolution-3ca27fca1bcebf7a196d47d22b24329b9d1577f6.zip
Unset the changed bit on the composer and also drop any undo operations
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. svn path=/trunk/; revision=18127
-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 ();