evolution-exchange r1622 - in trunk: . calendar



Author: msuman
Date: Wed Apr  9 11:00:54 2008
New Revision: 1622
URL: http://svn.gnome.org/viewvc/evolution-exchange?rev=1622&view=rev

Log:
Set account mode to 'ONLINE_MODE' before attempting to connect.

Modified:
   trunk/ChangeLog
   trunk/calendar/e-cal-backend-exchange.c

Modified: trunk/calendar/e-cal-backend-exchange.c
==============================================================================
--- trunk/calendar/e-cal-backend-exchange.c	(original)
+++ trunk/calendar/e-cal-backend-exchange.c	Wed Apr  9 11:00:54 2008
@@ -391,6 +391,8 @@
 		return GNOME_Evolution_Calendar_NoSuchCal;
 	}
 
+	exchange_account_set_online (cbex->account);
+
 	exchange_account_connect (cbex->account, password, &acresult);
 	if (acresult != EXCHANGE_ACCOUNT_CONNECT_SUCCESS) {
 		g_mutex_unlock (cbex->priv->open_lock);
@@ -398,8 +400,6 @@
 		return GNOME_Evolution_Calendar_AuthenticationFailed;
 	}		
 
-	exchange_account_set_online (cbex->account);
-
 	cbex->folder = exchange_account_get_folder (cbex->account, uristr);
 	if (!cbex->folder) {
 		ESource *source;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]