From 754164e503ba405f85d0ce5123b907a6c5809712 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 2 Sep 2000 01:44:59 +0000 Subject: Attach a callback to the postpone signal (send_to_url): Same (mail_reply): 2000-09-01 Jeffrey Stedfast * mail-callbacks.c (compose_msg): Attach a callback to the postpone signal (send_to_url): Same (mail_reply): Same (forward_msg): Same (composer_postpone_cb): Callback function for the postpone signal * mail-ops.c (mail_do_setup_outbox): New convenience function to load the Outbox folder (mail_do_setup_sentbox): Same, but for Sentbox. (do_send_mail): Now saves messages in Sentbox if sent successfully (mail_do_append_mail): New convenience async function for appending messages to a folder * component-factory.c: Added outbox_folder and sent_folder (owner_set_cb): Call our new convenience functions to load Outbox and Sentbox svn path=/trunk/; revision=5178 --- mail/mail-ops.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/mail-ops.h') diff --git a/mail/mail-ops.h b/mail/mail-ops.h index 1ec7af4e4f..3d8de04e00 100644 --- a/mail/mail-ops.h +++ b/mail/mail-ops.h @@ -36,6 +36,9 @@ void mail_do_send_mail (const char *xport_uri, CamelFolder *done_folder, const char *done_uid, guint32 done_flags, GtkWidget *composer); +void mail_do_append_mail (CamelFolder *folder, + CamelMimeMessage *message, + CamelMessageInfo *info); void mail_do_expunge_folder (CamelFolder *folder); void mail_do_transfer_messages (CamelFolder *source, GPtrArray *uids, gboolean delete_from_source, -- cgit v1.2.3