diff options
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index cb4f217ad6..ae3fdaad75 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -424,6 +424,7 @@ composer_sent_cb (char *uri, CamelMimeMessage *message, gboolean sent, void *dat } gtk_widget_destroy (GTK_WIDGET (send->composer)); } else { + e_msg_composer_set_enable_autosave(send->composer, TRUE); gtk_widget_show (GTK_WIDGET (send->composer)); gtk_object_unref (GTK_OBJECT (send->composer)); } @@ -617,6 +618,7 @@ composer_send_cb (EMsgComposer *composer, gpointer data) send->composer = composer; gtk_object_ref (GTK_OBJECT (composer)); gtk_widget_hide (GTK_WIDGET (composer)); + e_msg_composer_set_enable_autosave(composer, FALSE); mail_send_mail (transport->url, message, composer_sent_cb, send); } |