diff options
author | Jason Leach <jasonleach@usa.net> | 2001-01-26 03:36:03 +0800 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2001-01-26 03:36:03 +0800 |
commit | c46245d4b576b4e8c9a076e7ceb99e5edee0bdd3 (patch) | |
tree | 2669f1d5e3c738d46cb5aafc5a335b065d993401 /mail | |
parent | 024435f8ccbc749533474c882627680145649a4c (diff) | |
download | gsoc2013-evolution-c46245d4b576b4e8c9a076e7ceb99e5edee0bdd3.tar.gz gsoc2013-evolution-c46245d4b576b4e8c9a076e7ceb99e5edee0bdd3.tar.zst gsoc2013-evolution-c46245d4b576b4e8c9a076e7ceb99e5edee0bdd3.zip |
(Don't prompt about unsaved changes for replies/forwards that have not
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.
svn path=/trunk/; revision=7819
Diffstat (limited to 'mail')
-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); } } } |