aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-send-recv.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r--mail/mail-send-recv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index 0b5b187c05..c1938eafb7 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -48,6 +48,7 @@
#include "mail-tools.h"
#include "mail-ops.h"
#include "mail-send-recv.h"
+#include "mail-folder-cache.h"
#define d(x)
@@ -601,7 +602,7 @@ receive_update_got_store (char *uri, CamelStore *store, void *data)
if (storage) {
if (!gtk_object_get_data (GTK_OBJECT (storage), "connected"))
- mail_scan_subfolders (store, storage);
+ mail_note_store (store);
mail_update_subfolders (store, storage, receive_update_done, info);
bonobo_object_unref (BONOBO_OBJECT (storage));