From d8c95a55bc0d7dc465ce11070cd237c8b53c53fa Mon Sep 17 00:00:00 2001 From: Not Zed Date: Sun, 28 Jan 2001 03:53:08 +0000 Subject: Changed to use mail_save_part to save the data in another thread. 2001-01-28 Not Zed * mail-display.c (write_data_to_file): Changed to use mail_save_part to save the data in another thread. (save_data_cb): Hide the fileselector once we have a button press, and are saving stuff. * mail-ops.c (mail_save_part): New function to save a part content asynchronously. svn path=/trunk/; revision=7867 --- mail/mail-ops.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail/mail-ops.h') diff --git a/mail/mail-ops.h b/mail/mail-ops.h index e39a1a9c41..7b4fe0ec36 100644 --- a/mail/mail-ops.h +++ b/mail/mail-ops.h @@ -78,6 +78,8 @@ void mail_create_folder(const char *uri, /* save messages */ int mail_save_messages(CamelFolder *folder, GPtrArray *uids, const char *path, void (*done) (CamelFolder *folder, GPtrArray *uids, char *path, void *data), void *data); +int mail_save_part(CamelMimePart *part, const char *path, + void (*done)(CamelMimePart *part, char *path, int saved, void *data), void *data); int mail_send_mail(const char *uri, CamelMimeMessage *message, void (*done) (char *uri, CamelMimeMessage *message, gboolean sent, void *data), void *data); -- cgit