aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJason Leach <jleach@ximian.com>2001-08-12 11:12:52 +0800
committerJacob Leach <jleach@src.gnome.org>2001-08-12 11:12:52 +0800
commit6fb0378533ee93a349ab72cd7b837a5c00669936 (patch)
treeb57c399687933e0a4accb572534ddb22224a9ccc /mail
parent5f6e3bde3bbaba4948cd0df69d66f1d3e8f98707 (diff)
downloadgsoc2013-evolution-6fb0378533ee93a349ab72cd7b837a5c00669936.tar
gsoc2013-evolution-6fb0378533ee93a349ab72cd7b837a5c00669936.tar.gz
gsoc2013-evolution-6fb0378533ee93a349ab72cd7b837a5c00669936.tar.bz2
gsoc2013-evolution-6fb0378533ee93a349ab72cd7b837a5c00669936.tar.lz
gsoc2013-evolution-6fb0378533ee93a349ab72cd7b837a5c00669936.tar.xz
gsoc2013-evolution-6fb0378533ee93a349ab72cd7b837a5c00669936.tar.zst
gsoc2013-evolution-6fb0378533ee93a349ab72cd7b837a5c00669936.zip
Set the session as online so auto mail checking (and the composer) will be
2001-08-11 Jason Leach <jleach@ximian.com> * 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
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-offline-handler.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b5aa08a281..ca384e1336 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,9 @@
2001-08-11 Jason Leach <jleach@ximian.com>
+ * 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.
+
* folder-browser.c: Make the right click "Resend..." into "Edit as
New Message...", bug #6838.
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);
}