aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index f49833665f..ac456c73a5 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-19 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-msg-composer.c (save_draft): Reset the "changed" state to
+ FALSE after a successful save.
+
2001-08-17 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (show_attachments): Toggle the
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 89f30f4a5a..c506242714 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1008,6 +1008,9 @@ save_draft (EMsgComposer *composer, int quitok)
mail_append_mail (folder, msg, info, save_done, si);
camel_object_unref (CAMEL_OBJECT (msg));
+
+ /* Reset the "changed" state to FALSE */
+ composer->has_changed = FALSE;
}
#define AUTOSAVE_SEED ".evolution-composer.autosave-XXXXXX"
@@ -1296,7 +1299,7 @@ exit_dialog_cb (int reply, EMsgComposer *composer)
switch (reply) {
case REPLY_YES:
/* this has to be done async */
- save_draft(composer, TRUE);
+ save_draft (composer, TRUE);
break;
case REPLY_NO:
gtk_widget_destroy (GTK_WIDGET (composer));