diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-08-20 03:10:55 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-08-20 03:10:55 +0800 |
commit | a2b0fea02640e4aefa24788c5096a32d5743050f (patch) | |
tree | 89db70100c217b869397859a6c8c2335b8cab5f4 /composer | |
parent | b6fecb62d9c71e6e914b4aaca2c9b86939803666 (diff) | |
download | gsoc2013-evolution-a2b0fea02640e4aefa24788c5096a32d5743050f.tar gsoc2013-evolution-a2b0fea02640e4aefa24788c5096a32d5743050f.tar.gz gsoc2013-evolution-a2b0fea02640e4aefa24788c5096a32d5743050f.tar.bz2 gsoc2013-evolution-a2b0fea02640e4aefa24788c5096a32d5743050f.tar.lz gsoc2013-evolution-a2b0fea02640e4aefa24788c5096a32d5743050f.tar.xz gsoc2013-evolution-a2b0fea02640e4aefa24788c5096a32d5743050f.tar.zst gsoc2013-evolution-a2b0fea02640e4aefa24788c5096a32d5743050f.zip |
Reset the "changed" state to FALSE after a successful save.
2001-08-19 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (save_draft): Reset the "changed" state to
FALSE after a successful save.
svn path=/trunk/; revision=12224
Diffstat (limited to 'composer')
-rw-r--r-- | composer/ChangeLog | 5 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 5 |
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)); |