evolution-exchange r1629 - in branches/gnome-2-22: . calendar



Author: abharath
Date: Fri May  2 04:55:46 2008
New Revision: 1629
URL: http://svn.gnome.org/viewvc/evolution-exchange?rev=1629&view=rev

Log:
Patch from Suman Manjunath  <msuman novell com> ***Set account mode to 'ONLINE_MODE' before attempting to connect.

Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/calendar/e-cal-backend-exchange.c

Modified: branches/gnome-2-22/calendar/e-cal-backend-exchange.c
==============================================================================
--- branches/gnome-2-22/calendar/e-cal-backend-exchange.c	(original)
+++ branches/gnome-2-22/calendar/e-cal-backend-exchange.c	Fri May  2 04:55:46 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]