aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2002-07-30 00:26:32 +0800
committerPeter Williams <peterw@src.gnome.org>2002-07-30 00:26:32 +0800
commitdd328148b98bd1f8466f46470c78f0a3f853c666 (patch)
tree9fa9e8614247a8e6d053e6bae478ff87f66421a3 /mail
parentd8b5268c12abcc11f80c79a7e7619be3dc4653df (diff)
downloadgsoc2013-evolution-dd328148b98bd1f8466f46470c78f0a3f853c666.tar
gsoc2013-evolution-dd328148b98bd1f8466f46470c78f0a3f853c666.tar.gz
gsoc2013-evolution-dd328148b98bd1f8466f46470c78f0a3f853c666.tar.bz2
gsoc2013-evolution-dd328148b98bd1f8466f46470c78f0a3f853c666.tar.lz
gsoc2013-evolution-dd328148b98bd1f8466f46470c78f0a3f853c666.tar.xz
gsoc2013-evolution-dd328148b98bd1f8466f46470c78f0a3f853c666.tar.zst
gsoc2013-evolution-dd328148b98bd1f8466f46470c78f0a3f853c666.zip
Call mail_note_store to get the folders to be updated and new ones to be
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. svn path=/trunk/; revision=17632
Diffstat (limited to 'mail')
-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