diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-08-08 07:39:57 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-08-08 07:39:57 +0800 |
commit | a3648b5912435cb22c82cf06e137592f1100b135 (patch) | |
tree | 52c7389a65d4be17a70e2abbe4bf34838c076bfa /e-util | |
parent | ec7b3f3944c2c3589a9a4a6f6a6dc7714193b3c6 (diff) | |
download | gsoc2013-evolution-a3648b5912435cb22c82cf06e137592f1100b135.tar.gz gsoc2013-evolution-a3648b5912435cb22c82cf06e137592f1100b135.tar.zst gsoc2013-evolution-a3648b5912435cb22c82cf06e137592f1100b135.zip |
Delete the Draft item that this was edited from if that is the case as
2002-08-07 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (composer_send_queued_cb): Delete the Draft
item that this was edited from if that is the case as well as
setting any replied flags if we need to. Fixes bug #18171.
(save_draft_done): Not only delete the previously saved draft, but
also set any PostSendData on the message being replied to or
whatever. Fixes bug #20224.
(compose_msg): Create an empty callback data struct which is now a
MUST.
(mail_reply): Fill in the new post_send_data info and also move
the creation of the post_send_data to AFTER the creation of the
composer widget so we don't leak on fail.
(forward_get_composer): Pass an empty post_send_data structure as
the user_data to the signal callbacks.
(send_to_url): Same.
(post_to_url): Here too.
(redirect_get_composer): And here.
(do_edit_messages): We no longer use the evil kludge of setting
data on the composer object to denote the drafts_uid etc, this is
now part of the post_send_data struct.
svn path=/trunk/; revision=17736
Diffstat (limited to 'e-util')
0 files changed, 0 insertions, 0 deletions