aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-06-21 22:37:36 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-06-21 22:37:36 +0800
commit77f71cf54a87b9197c8b4986efd7886a50f2f457 (patch)
treea2a3dabfcd09dc957668f52c71581c5d759dc6a7
parent7750a79768b5c487d121e7d886895f82b390c4b1 (diff)
downloadgsoc2013-evolution-77f71cf54a87b9197c8b4986efd7886a50f2f457.tar.gz
gsoc2013-evolution-77f71cf54a87b9197c8b4986efd7886a50f2f457.tar.zst
gsoc2013-evolution-77f71cf54a87b9197c8b4986efd7886a50f2f457.zip
** Fixes bug #537725
2008-06-21 Matthew Barnes <mbarnes@redhat.com> ** 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
-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 ();