aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ChangeLog
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-08-13 07:07:19 +0800
committerDan Winship <danw@src.gnome.org>2000-08-13 07:07:19 +0800
commit9178fed291ee57d90636be4f0ca69db80b61df4b (patch)
tree7a79aca62d1fb5b689524bba2377efd9b20e1fef /mail/ChangeLog
parent031bffff9cf122ac2014d364c249d7e894929bbc (diff)
downloadgsoc2013-evolution-9178fed291ee57d90636be4f0ca69db80b61df4b.tar
gsoc2013-evolution-9178fed291ee57d90636be4f0ca69db80b61df4b.tar.gz
gsoc2013-evolution-9178fed291ee57d90636be4f0ca69db80b61df4b.tar.bz2
gsoc2013-evolution-9178fed291ee57d90636be4f0ca69db80b61df4b.tar.lz
gsoc2013-evolution-9178fed291ee57d90636be4f0ca69db80b61df4b.tar.xz
gsoc2013-evolution-9178fed291ee57d90636be4f0ca69db80b61df4b.tar.zst
gsoc2013-evolution-9178fed291ee57d90636be4f0ca69db80b61df4b.zip
Don't clear the tree here. If two "folder_changed"s arrive in close
* message-list.c (cleanup_regenerate_messagelist): Don't clear the tree here. If two "folder_changed"s arrive in close succession, then one possible ordering of events is cleanup_regenerate_messagelist, cleanup_regenerate_messagelist, cleanup_thread_messages, cleanup_thread_messages. Which would result in the message list being filled in twice without being cleared in between. So don't clear it until the rebuilding function itself is called. (clear_tree): New function to empty out the ETreeModel in the message list. (build_tree): Change to simpler interface. Call clear_tree. (build_subtree): Does most of the work of the old build_tree (build_flat): Remove unused arg. Call clear_tree. * message-thread.c (cleanup_thread_messages): Update for build_tree interface change. svn path=/trunk/; revision=4787
Diffstat (limited to 'mail/ChangeLog')
-rw-r--r--mail/ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 2293762ea1..b70bb51a84 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,22 @@
2000-08-12 Dan Winship <danw@helixcode.com>
+ * message-list.c (cleanup_regenerate_messagelist): Don't clear the
+ tree here. If two "folder_changed"s arrive in close succession,
+ then one possible ordering of events is
+ cleanup_regenerate_messagelist, cleanup_regenerate_messagelist,
+ cleanup_thread_messages, cleanup_thread_messages. Which would
+ result in the message list being filled in twice without being
+ cleared in between. So don't clear it until the rebuilding
+ function itself is called.
+ (clear_tree): New function to empty out the ETreeModel in the
+ message list.
+ (build_tree): Change to simpler interface. Call clear_tree.
+ (build_subtree): Does most of the work of the old build_tree
+ (build_flat): Remove unused arg. Call clear_tree.
+
+ * message-thread.c (cleanup_thread_messages): Update for
+ build_tree interface change.
+
* mail-ops.c (do_send_mail): Don't leak the transport.
* mail-tools.c (mail_tool_get_folder_from_urlname): Don't ref the