diff options
author | Peter Williams <peterw@ximian.com> | 2001-08-11 01:28:52 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-08-11 01:28:52 +0800 |
commit | 5ffaca0f8dc9d56783be9e8dd5c6661bde2269b2 (patch) | |
tree | 1dfdf5b18ce64dbafe1acd6717cab9cd82be97f7 /mail/ChangeLog | |
parent | 2f81032abc0e68f1a2cdbc88c23b0febd2524bb1 (diff) | |
download | gsoc2013-evolution-5ffaca0f8dc9d56783be9e8dd5c6661bde2269b2.tar gsoc2013-evolution-5ffaca0f8dc9d56783be9e8dd5c6661bde2269b2.tar.gz gsoc2013-evolution-5ffaca0f8dc9d56783be9e8dd5c6661bde2269b2.tar.bz2 gsoc2013-evolution-5ffaca0f8dc9d56783be9e8dd5c6661bde2269b2.tar.lz gsoc2013-evolution-5ffaca0f8dc9d56783be9e8dd5c6661bde2269b2.tar.xz gsoc2013-evolution-5ffaca0f8dc9d56783be9e8dd5c6661bde2269b2.tar.zst gsoc2013-evolution-5ffaca0f8dc9d56783be9e8dd5c6661bde2269b2.zip |
Don't load the storage if it isn't enabled. (mail_remove_storage_by_uri):
2001-08-08 Peter Williams <peterw@ximian.com>
* component-factory.c (mail_load_storages): Don't load the storage
if it isn't enabled.
(mail_remove_storage_by_uri): New function. Goes through the
gymnastics of getting a CamelStore from the URI and calling
mail_remove_storage. Copied from mail_delete().
(mail_load_storage_by_uri): Break out the storage-loading part of
mail_load_storages into a single function.
(mail_load_storages): Just call mail_load_storage_by_uri several
times.
* mail.h: Prototype our new _by_uri functions.
* mail-accounts.c (news_add_destroyed): Instead of hacking around
mail_load_storages, call mail_load_storage_by_uri.
(mail_delete): Move this chunk of code into
mail_remove_storage_by_uri.
(mail_able): Add or remove the storage as necessary, with our
new _by_uri functions.
* mail-config-druid.c (druid_finish): See news_add_destroyed above.
svn path=/trunk/; revision=11881
Diffstat (limited to 'mail/ChangeLog')
-rw-r--r-- | mail/ChangeLog | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 778273d447..f28576dddc 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,26 @@ +2001-08-08 Peter Williams <peterw@ximian.com> + + * component-factory.c (mail_load_storages): Don't load the storage + if it isn't enabled. + (mail_remove_storage_by_uri): New function. Goes through the + gymnastics of getting a CamelStore from the URI and calling + mail_remove_storage. Copied from mail_delete(). + (mail_load_storage_by_uri): Break out the storage-loading part of + mail_load_storages into a single function. + (mail_load_storages): Just call mail_load_storage_by_uri several + times. + + * mail.h: Prototype our new _by_uri functions. + + * mail-accounts.c (news_add_destroyed): Instead of hacking around + mail_load_storages, call mail_load_storage_by_uri. + (mail_delete): Move this chunk of code into + mail_remove_storage_by_uri. + (mail_able): Add or remove the storage as necessary, with our + new _by_uri functions. + + * mail-config-druid.c (druid_finish): See news_add_destroyed above. + 2001-08-10 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_show_preview): Free dbkey if we |