aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-local.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-03-03 07:39:39 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-03-03 07:39:39 +0800
commit2de08e6b9a54a34fced0bdd087117c145019c7ad (patch)
treee5828b3c2a9d4951dfb00a09cfd88fa2e02b13a8 /mail/mail-local.c
parent7c3a6662fe5da0353f31c4385e97f6b19c35e511 (diff)
downloadgsoc2013-evolution-2de08e6b9a54a34fced0bdd087117c145019c7ad.tar
gsoc2013-evolution-2de08e6b9a54a34fced0bdd087117c145019c7ad.tar.gz
gsoc2013-evolution-2de08e6b9a54a34fced0bdd087117c145019c7ad.tar.bz2
gsoc2013-evolution-2de08e6b9a54a34fced0bdd087117c145019c7ad.tar.lz
gsoc2013-evolution-2de08e6b9a54a34fced0bdd087117c145019c7ad.tar.xz
gsoc2013-evolution-2de08e6b9a54a34fced0bdd087117c145019c7ad.tar.zst
gsoc2013-evolution-2de08e6b9a54a34fced0bdd087117c145019c7ad.zip
Remove very old camel lock stuff.
2001-03-03 Not Zed <NotZed@Ximian.com> * mail-tools.c: Remove very old camel lock stuff. * mail-local.c (register_folder_registered): Add the local folder as a potential vfolder source. * folder-browser.c (got_folder): When we have a new folder, register it as a potential vfolder source. * mail-vfolder.c: Added the source rule to the vfolder_info. (vfolder_refresh): Store the rule in the vfolder info, etc. (vfolder_register_source): Function to register a newly opened folder with us. (vfolder_uri_to_folder): Save the folder in the vfolder_info too. (source_finalise): Handle clenaup when the folder dies. svn path=/trunk/; revision=8534
Diffstat (limited to 'mail/mail-local.c')
-rw-r--r--mail/mail-local.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c
index 4d2a7e0615..b0195ff899 100644
--- a/mail/mail-local.c
+++ b/mail/mail-local.c
@@ -61,6 +61,8 @@
#include "folder-browser.h"
#include "mail-mt.h"
+#include "mail-vfolder.h"
+
#define d(x)
@@ -519,6 +521,9 @@ register_folder_registered(struct _mail_msg *mm)
camel_vee_folder_add_folder (CAMEL_VEE_FOLDER (store->vtrash),
local_folder->folder);
+ /* add the folder to the vfolder lists FIXME: merge stuff above with this */
+ vfolder_register_source(local_folder->folder);
+
unread = local_folder->last_unread;
local_folder->last_unread = 0;
local_folder_changed (CAMEL_OBJECT (local_folder->folder), GINT_TO_POINTER (unread),