diff options
-rw-r--r-- | mail/ChangeLog | 10 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 9 |
2 files changed, 16 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 621935654a..8dfdf4bea3 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,13 @@ +2001-01-25 Jason Leach <jasonleach@usa.net> + + (Don't prompt about unsaved changes for replies/forwards that have + not actually been modified) + + * mail-callbacks.c (do_forward_inline): Unset the has_changed for + the message composer. + (do_forward_attach): Same here. + (mail_reply): And here. + 2001-01-25 Dan Winship <danw@ximian.com> * mail-format.c (mail_content_loaded): Check if a message part's diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 8844e61b9c..0a5bac46ed 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -466,8 +466,9 @@ mail_reply (CamelFolder *folder, CamelMimeMessage *msg, const char *uid, gboolea GTK_SIGNAL_FUNC (composer_postpone_cb), psd); gtk_signal_connect (GTK_OBJECT (composer), "destroy", GTK_SIGNAL_FUNC (free_psd), psd); - + gtk_widget_show (GTK_WIDGET (composer)); + e_msg_composer_unset_changed (composer); } void @@ -537,7 +538,8 @@ do_forward_inline(CamelFolder *folder, char *uid, CamelMimeMessage *message, voi EMsgComposer *composer = forward_get_composer(subject); if (composer) { e_msg_composer_set_body_text(composer, text); - gtk_widget_show((GtkWidget *)composer); + gtk_widget_show(GTK_WIDGET(composer)); + e_msg_composer_unset_changed(composer); } g_free(text); } @@ -553,7 +555,8 @@ do_forward_attach(CamelFolder *folder, GPtrArray *messages, CamelMimePart *part, EMsgComposer *composer = forward_get_composer(subject); if (composer) { e_msg_composer_attach(composer, part); - gtk_widget_show((GtkWidget *)composer); + gtk_widget_show(GTK_WIDGET(composer)); + e_msg_composer_unset_changed(composer); } } } |