aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-02-20 11:15:10 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-02-20 11:15:10 +0800
commitac1b347939cfb28beb56451c3a19c2b752ef3a8f (patch)
tree3ba6976dbf8ae749df1377f49e1fc7bc17c3b776 /mail
parent8c481ff34db2c7229db6a4c6105f6caa88f5211d (diff)
downloadgsoc2013-evolution-ac1b347939cfb28beb56451c3a19c2b752ef3a8f.tar.gz
gsoc2013-evolution-ac1b347939cfb28beb56451c3a19c2b752ef3a8f.tar.zst
gsoc2013-evolution-ac1b347939cfb28beb56451c3a19c2b752ef3a8f.zip
Add the auto-update flag to the folder open flags.
2001-02-20 Not Zed <NotZed@Ximian.com> * mail-vtrash.c (create_trash_vfolder): Add the auto-update flag to the folder open flags. svn path=/trunk/; revision=8297
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-vtrash.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 37240b38d4..ba74cd9110 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-02-20 Not Zed <NotZed@Ximian.com>
+
+ * mail-vtrash.c (create_trash_vfolder): Add the auto-update flag
+ to the folder open flags.
+
2001-02-19 Jeffrey Stedfast <fejj@ximian.com>
* mail-vfolder.c (mail_vfolder_get_vfolder_storage): New handy
diff --git a/mail/mail-vtrash.c b/mail/mail-vtrash.c
index c8e91ea669..f48be207eb 100644
--- a/mail/mail-vtrash.c
+++ b/mail/mail-vtrash.c
@@ -36,6 +36,7 @@
#include "mail-mt.h"
#include "camel/camel.h"
+#include "camel/camel-vee-store.h"
#include "filter/vfolder-rule.h"
#include "filter/filter-part.h"
@@ -137,7 +138,7 @@ create_trash_vfolder (const char *name, GPtrArray *urls, CamelException *ex)
foldername = g_strdup ("mbox?(match-all (system-flag \"Deleted\"))");
/* we dont have indexing on vfolders */
- folder = mail_tool_get_folder_from_urlname (storeuri, foldername, CAMEL_STORE_FOLDER_CREATE, ex);
+ folder = mail_tool_get_folder_from_urlname (storeuri, foldername, CAMEL_STORE_FOLDER_CREATE|CAMEL_STORE_VEE_FOLDER_AUTO, ex);
g_free (foldername);
g_free (storeuri);
if (camel_exception_is_set (ex))