aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ChangeLog
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-10-11 10:05:29 +0800
committerChris Toshok <toshok@src.gnome.org>2000-10-11 10:05:29 +0800
commit73f3bc0bd4680f3e4d4fd77d5b9f5d598ffca209 (patch)
tree827b5cdf36e3a4f8e1daaaa13305d2783a07602f /mail/ChangeLog
parent6d26494925d2875fed9739a55ec5d214f18fb972 (diff)
downloadgsoc2013-evolution-73f3bc0bd4680f3e4d4fd77d5b9f5d598ffca209.tar
gsoc2013-evolution-73f3bc0bd4680f3e4d4fd77d5b9f5d598ffca209.tar.gz
gsoc2013-evolution-73f3bc0bd4680f3e4d4fd77d5b9f5d598ffca209.tar.bz2
gsoc2013-evolution-73f3bc0bd4680f3e4d4fd77d5b9f5d598ffca209.tar.lz
gsoc2013-evolution-73f3bc0bd4680f3e4d4fd77d5b9f5d598ffca209.tar.xz
gsoc2013-evolution-73f3bc0bd4680f3e4d4fd77d5b9f5d598ffca209.tar.zst
gsoc2013-evolution-73f3bc0bd4680f3e4d4fd77d5b9f5d598ffca209.zip
add a ref to input->storage here so that the ref/unref pattern more
2000-10-10 Chris Toshok <toshok@helixcode.com> * mail-ops.c (setup_scan_subfolders): add a ref to input->storage here so that the ref/unref pattern more closely matches other mail-ops. also, this keeps the storage from being freed when we hit the unref in cleanup_scan_subfolders, which is important because we maintain a reference to it in the storage_hash in component-factory.c * subscribe-dialog.h: add storage field. * subscribe-dialog.c (subscribe_folder_info): new function, subscribe to a folder given it's CamelFolderInfo, and add it to the shell - we're generating a path from the name of the folder which is bad. (unsubscribe_folder_info): same (except we unsubscribe and remove from the shell). (storage_selected_cb): unref the currently selected storage. (subscribe_dialog_destroy): unref the currently selected storage. (subscribe_dialog_construct): sc->storage = NULL. * component-factory.c (mail_lookup_storage): new function, to look up a EvolutionStorage corresponding to a CamelService. we ref the EvolutionStorage before passing it back. (mail_add_new_storage): insert the storage into storages_hash if result is EVOLUTION_STORAGE_OK. * mail.h: add prototype for mail_lookup_storage. svn path=/trunk/; revision=5830
Diffstat (limited to 'mail/ChangeLog')
-rw-r--r--mail/ChangeLog29
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a803676dc2..e955c86300 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,32 @@
+2000-10-10 Chris Toshok <toshok@helixcode.com>
+
+ * mail-ops.c (setup_scan_subfolders): add a ref to input->storage
+ here so that the ref/unref pattern more closely matches other
+ mail-ops. also, this keeps the storage from being freed when we
+ hit the unref in cleanup_scan_subfolders, which is important
+ because we maintain a reference to it in the storage_hash in
+ component-factory.c
+
+ * subscribe-dialog.h: add storage field.
+
+ * subscribe-dialog.c (subscribe_folder_info): new function,
+ subscribe to a folder given it's CamelFolderInfo, and add it to
+ the shell - we're generating a path from the name of the folder
+ which is bad.
+ (unsubscribe_folder_info): same (except we unsubscribe and remove
+ from the shell).
+ (storage_selected_cb): unref the currently selected storage.
+ (subscribe_dialog_destroy): unref the currently selected storage.
+ (subscribe_dialog_construct): sc->storage = NULL.
+
+ * component-factory.c (mail_lookup_storage): new function, to look
+ up a EvolutionStorage corresponding to a CamelService. we ref the
+ EvolutionStorage before passing it back.
+ (mail_add_new_storage): insert the storage into storages_hash if
+ result is EVOLUTION_STORAGE_OK.
+
+ * mail.h: add prototype for mail_lookup_storage.
+
2000-10-10 Larry Ewing <lewing@helixcode.com>
* mail-format.c (mail_generate_reply): make sure we dup the return