changed order around, first try to delete and only remove from the object
authorNot Zed <NotZed@Ximian.com>
Wed, 4 Feb 2004 05:57:21 +0000 (05:57 +0000)
committerMichael Zucci <zucchi@src.gnome.org>
Wed, 4 Feb 2004 05:57:21 +0000 (05:57 +0000)
commitfcf46fa52b94b39213f6ae790da4dec0fb9b85ed
treec72796808f12ec888e6c53c1d33275bd8d57fb39
parent875ac58ced5a36fd3b10ecab087c57a5a30bebc0
changed order around, first try to delete and only remove from the object

2004-02-04  Not Zed  <NotZed@Ximian.com>

        * camel-store.c (camel_store_delete_folder): changed order around,
        first try to delete and only remove from the object bag if the
        delete worked.  If vjunk/vtrash enabled, don't allow those to be
        deleted.
        (cs_delete_cached_folder): helper to delete the folder if its in
        the cache, remove it from trash/junk, etc.
        (camel_store_unsubscribe_folder): changed similarly to
        delete_folder.

        * camel-vee-store.c (vee_delete_folder): dont do any trash/junk
        processing anymore.

2004-02-03  Not Zed  <NotZed@Ximian.com>

        * camel-store.c: use the folders object bag to manage the trash
        folder and junk folders.  Remove the init_trash and init_junk
        stuff, just use get_trash and get_junk to mean the same thing.
        Get rid of the hacked up vjunk and vtrash "uri" stuff too.

        * camel-object.c (camel_object_bag_add): null out the pair->func,
        otherwise we get an uninitalised memory read during unhook event.
camel/ChangeLog
camel/camel-digest-store.c
camel/camel-object.c
camel/camel-store.c
camel/camel-store.h
camel/camel-vee-store.c
camel/providers/imapp/camel-imapp-store.c
camel/providers/pop3/camel-pop3-store.c