diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-09-20 04:49:16 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-09-20 04:49:16 +0800 |
commit | 3ca27fca1bcebf7a196d47d22b24329b9d1577f6 (patch) | |
tree | 718d01b78fcf4dcfef24f04e26164a3d5cb59318 /mail | |
parent | d4f22aebb0cd2fd8d9e2032e5e2bfe49c8328f1a (diff) | |
download | gsoc2013-evolution-3ca27fca1bcebf7a196d47d22b24329b9d1577f6.tar gsoc2013-evolution-3ca27fca1bcebf7a196d47d22b24329b9d1577f6.tar.gz gsoc2013-evolution-3ca27fca1bcebf7a196d47d22b24329b9d1577f6.tar.bz2 gsoc2013-evolution-3ca27fca1bcebf7a196d47d22b24329b9d1577f6.tar.lz gsoc2013-evolution-3ca27fca1bcebf7a196d47d22b24329b9d1577f6.tar.xz 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
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 2 |
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 (); |