From cd101b3ffcbe06d7b40bc19adbc66b2ad843a1c9 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Fri, 9 Feb 2001 01:48:04 +0000 Subject: only free driver, if set. (fetch_mail_fetched): Unref the driver here, so 2001-02-09 Not Zed * mail-ops.c (filter_folder_free): only free driver, if set. (fetch_mail_fetched): Unref the driver here, so it can cleanup before we call the 'done' callback. * component-factory.c (owner_set_cb): Add setup for mail autoreceive stuff. * mail-send-recv.c (free_info_data): Free the send info's from teh active hash, not the running list. (receive_done): As we finish downloads, remove them and clean them up, and also close the window. (mail_autoreceive_setup): New function to setup & maintain automatic download stuff. svn path=/trunk/; revision=8134 --- mail/component-factory.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/component-factory.c') diff --git a/mail/component-factory.c b/mail/component-factory.c index 95e578e5f0..376b3b14a7 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -49,6 +49,7 @@ #include "component-factory.h" #include "mail-summary.h" +#include "mail-send-recv.h" CamelFolder *drafts_folder = NULL; CamelFolder *outbox_folder = NULL; @@ -211,6 +212,8 @@ owner_set_cb (EvolutionShellComponent *shell_component, } mail_session_enable_interaction (TRUE); + + mail_autoreceive_setup(); } static void -- cgit v1.2.3