aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-offline-handler.c5
2 files changed, 10 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 34f5f1fbdd..397f46a254 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-26 Peter Williams <peterw@ximian.com>
+
+ * mail-offline-handler.c (storage_go_online): Call mail_note_store
+ to get the folders to be updated and new ones to be inserted into
+ the tree.
+
2002-07-29 Ettore Perazzoli <ettore@ximian.com>
* mail-session.c (request_password): Add an accelerator for the
diff --git a/mail/mail-offline-handler.c b/mail/mail-offline-handler.c
index fa374efc73..7b7aa94c4d 100644
--- a/mail/mail-offline-handler.c
+++ b/mail/mail-offline-handler.c
@@ -264,8 +264,11 @@ storage_go_online (gpointer key, gpointer value, gpointer data)
{
CamelStore *store = key;
- if (service_is_relevant (CAMEL_SERVICE (store), FALSE))
+ if (service_is_relevant (CAMEL_SERVICE (store), FALSE)) {
mail_store_set_offline (store, FALSE, NULL, NULL);
+ mail_note_store (store, NULL, CORBA_OBJECT_NIL,
+ NULL, NULL);
+ }
}
static void