From 77f71cf54a87b9197c8b4986efd7886a50f2f457 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 21 Jun 2008 14:37:36 +0000 Subject: ** Fixes bug #537725 2008-06-21 Matthew Barnes ** Fixes bug #537725 * mail/em-composer-utils.c (save_draft_done): Set the autosaved flag so we don't get pestered with a save dialog if the user then decides to close the composer window. svn path=/trunk/; revision=35669 --- mail/ChangeLog | 8 ++++++++ mail/em-composer-utils.c | 3 +-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 707064cfd1..6ec6a9d234 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2008-06-21 Matthew Barnes + + ** Fixes bug #537725 + + * em-composer-utils.c (save_draft_done): + Set the autosaved flag so we don't get pestered with a save dialog + if the user then decides to close the composer window. + 2008-06-20 Milan Crha ** Fix for bug #534039 diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index ad257b6237..257d66c486 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -489,8 +489,7 @@ save_draft_done (CamelFolder *folder, CamelMimeMessage *msg, CamelMessageInfo *i if (!ok) goto done; - /* do not set autosave saved to TRUE because e_msg_composer_save_draft doesn't do that too */ - gtkhtml_editor_set_changed (GTKHTML_EDITOR (sdi->composer), FALSE); + composer_set_no_change (sdi->composer, FALSE); if ((emcs = sdi->emcs) == NULL) { emcs = emcs_new (); -- cgit