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
This commit is contained in:
Jason Leach
2001-08-12 03:12:52 +00:00
committed by Jacob Leach
parent 5f6e3bde3b
commit 6fb0378533
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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);
}