aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/em-composer-utils.c3
2 files changed, 9 insertions, 2 deletions
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 <mbarnes@redhat.com>
+
+ ** 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 <mcrha@redhat.com>
** 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 ();