aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2008-09-05 11:13:52 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2008-09-05 11:13:52 +0800
commit0741eac9d368944621d040ddb2161d49ccce1868 (patch)
tree7161804edf3c26f58c726ff5d58d1a3f9dc1f7cb /mail
parentf317557d75ddfa2077bf4aacc1d2ce2d407d172d (diff)
downloadgsoc2013-evolution-0741eac9d368944621d040ddb2161d49ccce1868.tar
gsoc2013-evolution-0741eac9d368944621d040ddb2161d49ccce1868.tar.gz
gsoc2013-evolution-0741eac9d368944621d040ddb2161d49ccce1868.tar.bz2
gsoc2013-evolution-0741eac9d368944621d040ddb2161d49ccce1868.tar.lz
gsoc2013-evolution-0741eac9d368944621d040ddb2161d49ccce1868.tar.xz
gsoc2013-evolution-0741eac9d368944621d040ddb2161d49ccce1868.tar.zst
gsoc2013-evolution-0741eac9d368944621d040ddb2161d49ccce1868.zip
Fix infinite loop on deleting vfolders.
2008-09-05 Srinivasa Ragavan <sragavan@novell.com> * mail-folder-cache.c (real_flush_updates): Fix infinite loop on deleting vfolders. svn path=/trunk/; revision=36257
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-folder-cache.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 2e2844957d..308baf6960 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-05 Srinivasa Ragavan <sragavan@novell.com>
+
+ * mail-folder-cache.c (real_flush_updates): Fix infinite loop on
+ deleting vfolders.
+
2008-09-04 Sankar P <psankar@novell.com>
License Changes
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index dce2f9f62b..63a8f2cf90 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -206,7 +206,7 @@ real_flush_updates(void *o, void *event_data, void *data)
e_event_emit((EEvent *)e, "folder.changed", (EEventTarget *)t);
}
- if (CAMEL_IS_VEE_STORE (up->store)) {
+ if (CAMEL_IS_VEE_STORE (up->store) && !up->remove) {
/* Normally the vfolder store takes care of the folder_opened event itself,
but we add folder to the noting system later, thus we do not know about
search folders to update them in a tree, thus ensure their changes will