aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 5994efe371..eb439600da 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,9 @@
+2003-04-04 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-msg-composer.c (autosave_save_draft): If the composer isn't
+ 'dirty', then don't autosave the draft (no need to). Fixes bug
+ #40764.
+
2003-04-03 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (menu_edit_select_all_cb): Add a select-all
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index d0c7be062a..aab14e230a 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1240,6 +1240,9 @@ autosave_save_draft (EMsgComposer *composer)
int fd, camelfd;
gboolean success = TRUE;
+ if (!e_msg_composer_is_dirty (composer))
+ return TRUE;
+
fd = composer->autosave_fd;
file = composer->autosave_file;