calendar and todo conduits: Move the e_cal_set_default_timezone call after e_cal_open, otherwise it doesn't work in Evolution 2.30.

diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c
index a246650..2ba7617 100644
--- a/calendar/conduits/calendar/calendar-conduit.c
+++ b/calendar/conduits/calendar/calendar-conduit.c
@@ -478,15 +478,6 @@ start_calendar_server (ECalConduitContext *ctxt)
 
 	if (ctxt->cfg->source) {
 		ctxt->client = e_cal_new (ctxt->cfg->source, E_CAL_SOURCE_TYPE_EVENT);
-		/* Set the default timezone on the backend.
-		   As of Evo. 2.5.x, timezone should be set before
-		   calling e_cal_open.
-		*/
-
-		if (ctxt->timezone) {
-			if (!e_cal_set_default_timezone (ctxt->client, ctxt->timezone, NULL))
-				return -1;
-		}
 
 		if (e_source_get_property (ctxt->cfg->source, "auth")) {
 			EUri *e_uri;
@@ -501,6 +492,15 @@ start_calendar_server (ECalConduitContext *ctxt)
 		}
 		if (!e_cal_open (ctxt->client, TRUE, NULL))
 			retval = -1;
+
+		/* Set the default timezone on the backend.
+		   As of Evo. 2.5.x, timezone should be set before
+		   calling e_cal_open.
+		*/
+		if (ctxt->timezone) {
+			if (!e_cal_set_default_timezone (ctxt->client, ctxt->timezone, NULL))
+				return -1;
+		}
 	} else if (!e_cal_open_default (&ctxt->client, E_CAL_SOURCE_TYPE_EVENT, NULL, NULL, NULL)) {
 		retval = -1;
 	}
diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c
index 59d3ad9..95bd54e 100644
--- a/calendar/conduits/todo/todo-conduit.c
+++ b/calendar/conduits/todo/todo-conduit.c
@@ -464,14 +464,6 @@ start_calendar_server (EToDoConduitContext *ctxt)
 
 	if (ctxt->cfg->source) {
 		ctxt->client = e_cal_new (ctxt->cfg->source, E_CAL_SOURCE_TYPE_TODO);
-		/* Set the default timezone on the backend.
-		   As of Evo. 2.5.x, timezone should be set before
-		   calling e_cal_open.
-		*/
-		if (ctxt->timezone && !e_cal_set_default_timezone (ctxt->client, ctxt->timezone, NULL))
-			return -1;
-
-		LOG (g_message ( "  timezone set to : %s", icaltimezone_get_tzid (ctxt->timezone) ));
 
 		if (e_source_get_property (ctxt->cfg->source, "auth")) {
 			EUri *e_uri;
@@ -486,6 +478,15 @@ start_calendar_server (EToDoConduitContext *ctxt)
 		}
 		if (!e_cal_open (ctxt->client, TRUE, NULL))
 			retval = -1;
+
+		/* Set the default timezone on the backend.
+		   As of Evo. 2.5.x, timezone should be set before
+		   calling e_cal_open.
+		*/
+		if (ctxt->timezone && !e_cal_set_default_timezone (ctxt->client, ctxt->timezone, NULL))
+			return -1;
+
+		LOG (g_message ( "  timezone set to : %s", icaltimezone_get_tzid (ctxt->timezone) ));
 	} else if (!e_cal_open_default (&ctxt->client, E_CAL_SOURCE_TYPE_TODO, NULL, NULL, NULL)) {
 		retval = -1;
 	}
