From dd328148b98bd1f8466f46470c78f0a3f853c666 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Mon, 29 Jul 2002 16:26:32 +0000 Subject: Call mail_note_store to get the folders to be updated and new ones to be 2002-07-26 Peter Williams * 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. svn path=/trunk/; revision=17632 --- mail/ChangeLog | 6 ++++++ mail/mail-offline-handler.c | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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 + + * 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 * 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 -- cgit