From ac1b347939cfb28beb56451c3a19c2b752ef3a8f Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 20 Feb 2001 03:15:10 +0000 Subject: Add the auto-update flag to the folder open flags. 2001-02-20 Not Zed * mail-vtrash.c (create_trash_vfolder): Add the auto-update flag to the folder open flags. svn path=/trunk/; revision=8297 --- mail/ChangeLog | 5 +++++ mail/mail-vtrash.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * mail-vtrash.c (create_trash_vfolder): Add the auto-update flag + to the folder open flags. + 2001-02-19 Jeffrey Stedfast * 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)) -- cgit v1.2.3