diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-07-21 02:25:45 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-07-21 02:25:45 +0800 |
commit | 8a361c78f0cfad3ae56e9bc8e5387b3e66d05429 (patch) | |
tree | 15962c69e9789a5895ec2811cb9f616c3d86a97b /mail/mail-ops.c | |
parent | 47b817166c6d39e6a3c5ea3da6079ad31c28eb29 (diff) | |
download | gsoc2013-evolution-8a361c78f0cfad3ae56e9bc8e5387b3e66d05429.tar.gz gsoc2013-evolution-8a361c78f0cfad3ae56e9bc8e5387b3e66d05429.tar.zst gsoc2013-evolution-8a361c78f0cfad3ae56e9bc8e5387b3e66d05429.zip |
Don't expunge the source folder if we have a cache.
2001-07-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (filter_folder_filter): Don't expunge the source
folder if we have a cache.
svn path=/trunk/; revision=11264
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index e296dec074..0a4e21160e 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -116,7 +116,8 @@ filter_folder_filter (struct _mail_msg *mm) camel_folder_free_uids (folder, folder_uids); /* sync and expunge */ - camel_folder_sync (folder, TRUE, camel_exception_is_set (&mm->ex) ? NULL : &mm->ex); + if (!m->cache) + camel_folder_sync (folder, TRUE, camel_exception_is_set (&mm->ex) ? NULL : &mm->ex); camel_folder_thaw (folder); if (m->destination) |