From 01c6e724a790c1743bfec5d14b107adfa96e91b1 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 28 Jan 2004 08:08:49 +0000 Subject: ** See bug #53179 2004-01-28 Not Zed ** See bug #53179 * mail-tools.c (mail_tool_get_local_movemail_path): Fix the movemail path. * mail-component.c (load_accounts): hack alert! * mail-send-recv.c (get_receive_type): hack alert! hardcode mbox: to be a movemail source. svn path=/trunk/; revision=24486 --- mail/mail-send-recv.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mail/mail-send-recv.c') diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index 84217219fa..c85b519876 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -267,6 +267,11 @@ static send_info_t get_receive_type(const char *url) CamelProvider *provider; CamelException ex; + /* HACK: since mbox is ALSO used for native evolution trees now, we need to + fudge this to treat it as a special 'movemail' source */ + if (!strncmp(url, "mbox:", 5)) + return SEND_RECEIVE; + camel_exception_init(&ex); provider = camel_session_get_provider (session, url, &ex); camel_exception_clear(&ex); -- cgit v1.2.3