From 6fb0378533ee93a349ab72cd7b837a5c00669936 Mon Sep 17 00:00:00 2001 From: Jason Leach Date: Sun, 12 Aug 2001 03:12:52 +0000 Subject: Set the session as online so auto mail checking (and the composer) will be 2001-08-11 Jason Leach * mail-offline-handler.c (impl_goOnline): Set the session as online so auto mail checking (and the composer) will be doing the right things when you go online. Bug #6343 and #4601. svn path=/trunk/; revision=11928 --- mail/mail-offline-handler.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/mail-offline-handler.c') diff --git a/mail/mail-offline-handler.c b/mail/mail-offline-handler.c index d26f2a6a86..ba33ee7d2c 100644 --- a/mail/mail-offline-handler.c +++ b/mail/mail-offline-handler.c @@ -170,6 +170,9 @@ impl_goOnline (PortableServer_Servant servant, offline_handler = MAIL_OFFLINE_HANDLER (bonobo_object_from_servant (servant)); priv = offline_handler->priv; + /* Enable auto-mail-checking */ + camel_session_set_online (session, TRUE); + mail_storages_foreach (storage_go_online, NULL); } -- cgit v1.2.3