From 8d3a2ebd284bbcde524a40054970c03ef7e07426 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 1 Oct 2001 19:45:39 +0000 Subject: create storages for providers that are STORAGE and aren't EXTERNAL, rather * component-factory.c (mail_load_storage_by_uri): create storages for providers that are STORAGE and aren't EXTERNAL, rather than "(STORAGE and REMOTE) or spool, maildir, or vfolder". (mail_remove_storage_by_uri): Use the same rule here (which makes it possible now to remove maildir and spool stores now, which weren't properly special-cased before). Remove some CamelException misuse. * mail-config.c (new_source_created): Fix up the broken INBOX- shortcut-generating assumption a little by only assuming that if you call camel_store_get_inbox(), that its full_name is the same as its path. (This happens to always be true for inboxes now, and will be always true by definition at some point in the future.) Now maildir stores get working Inbox shortcuts. * mail-send-recv.c (get_receive_type): If PROVIDER_IS_STORAGE then use SEND_UPDATE, if not, use SEND_RECEIVE. * mail-local.c (local_provider): The local provider is EXTERNAL. (The shell creates it.) (mail_local_reconfigure_folder): Allow reconfiguring between IS_LOCAL providers. * mail-accounts.c (news_delete): Don't need to check the provider flags here... we know nntp is a STORAGE. svn path=/trunk/; revision=13277 --- mail/ChangeLog | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'mail/ChangeLog') diff --git a/mail/ChangeLog b/mail/ChangeLog index c78a2251eb..8351b96703 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,31 @@ +2001-10-01 Dan Winship + + * component-factory.c (mail_load_storage_by_uri): create storages + for providers that are STORAGE and aren't EXTERNAL, rather than + "(STORAGE and REMOTE) or spool, maildir, or vfolder". + (mail_remove_storage_by_uri): Use the same rule here (which makes + it possible now to remove maildir and spool stores now, which + weren't properly special-cased before). Remove some CamelException + misuse. + + * mail-config.c (new_source_created): Fix up the broken INBOX- + shortcut-generating assumption a little by only assuming that if + you call camel_store_get_inbox(), that its full_name is the same + as its path. (This happens to always be true for inboxes now, and + will be always true by definition at some point in the future.) + Now maildir stores get working Inbox shortcuts. + + * mail-send-recv.c (get_receive_type): If PROVIDER_IS_STORAGE + then use SEND_UPDATE, if not, use SEND_RECEIVE. + + * mail-local.c (local_provider): The local provider is EXTERNAL. + (The shell creates it.) + (mail_local_reconfigure_folder): Allow reconfiguring between + IS_LOCAL providers. + + * mail-accounts.c (news_delete): Don't need to check the provider + flags here... we know nntp is a STORAGE. + 2001-10-01 Dan Winship * mail-local.c (mail_local_reconfigure_folder): Don't use -- cgit v1.2.3