aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-local.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-03-29 13:34:26 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-03-29 13:34:26 +0800
commit1ff6054e5ef86550df4e2dba80b47b8e81ab8fd2 (patch)
tree34f294fd27463ff469da71b5d8fa40d1fc640d05 /mail/mail-local.c
parentbf26d9680943bed494198dedca203b5ed6c9dcbd (diff)
downloadgsoc2013-evolution-1ff6054e5ef86550df4e2dba80b47b8e81ab8fd2.tar
gsoc2013-evolution-1ff6054e5ef86550df4e2dba80b47b8e81ab8fd2.tar.gz
gsoc2013-evolution-1ff6054e5ef86550df4e2dba80b47b8e81ab8fd2.tar.bz2
gsoc2013-evolution-1ff6054e5ef86550df4e2dba80b47b8e81ab8fd2.tar.lz
gsoc2013-evolution-1ff6054e5ef86550df4e2dba80b47b8e81ab8fd2.tar.xz
gsoc2013-evolution-1ff6054e5ef86550df4e2dba80b47b8e81ab8fd2.tar.zst
gsoc2013-evolution-1ff6054e5ef86550df4e2dba80b47b8e81ab8fd2.zip
Create a vtrash folder, not a vee folder.
2001-03-29 Not Zed <NotZed@Ximian.com> * mail-local.c (init_trash): Create a vtrash folder, not a vee folder. * folder-browser-factory.c (control_activate): Hook in the hide deleted thingy. Removed MessageHideDeleted menu stuff. * message-list.c (message_list_set_hidedeleted): New function, to set if we should hide deleted messages automatically/always. (regen_list_regen): If we have hide deleted messages turned on, then hide them. (main_message_changed): Promote to a folder_changed event with a change list, folder_changed has the optimisations to handle this appropriately. (main_folder_changed): IF we get changes events for deleted/undeleted stuff, change to added/removed events, rebuild if necessary. (message_list_set_folder): Setup the default hidedeleted state to be to hide everything unless it is in a vtrash folder. svn path=/trunk/; revision=9009
Diffstat (limited to 'mail/mail-local.c')
-rw-r--r--mail/mail-local.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c
index 08f056d31c..2511922fa6 100644
--- a/mail/mail-local.c
+++ b/mail/mail-local.c
@@ -51,6 +51,7 @@
#include "camel/camel.h"
#include "camel/camel-vee-store.h"
#include "camel/camel-vee-folder.h"
+#include "camel/camel-vtrash-folder.h"
#include "filter/vfolder-context.h"
#include "filter/vfolder-rule.h"
@@ -364,7 +365,7 @@ init_trash (CamelStore *store)
name = g_strdup_printf ("%s?(match-all (system-flag \"Deleted\"))", "vTrash");
- store->vtrash = camel_vee_folder_new (store, name, CAMEL_STORE_FOLDER_CREATE|CAMEL_STORE_VEE_FOLDER_AUTO);
+ store->vtrash = camel_vtrash_folder_new (store, name);
g_free (name);