[evolution-data-server] Fixes bug 499105 (bnc) - do not update the server utc time when the calendar opens.
- From: Chenthill Palanisamy <pchen src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution-data-server] Fixes bug 499105 (bnc) - do not update the server utc time when the calendar opens.
- Date: Wed, 20 May 2009 06:26:25 -0400 (EDT)
commit 626d2db27c996fea05f3e3b7f2e768c52358b232
Author: Chenthill Palanisamy <pchenthill novell com>
Date: Wed May 20 15:37:43 2009 +0530
Fixes bug 499105 (bnc) - do not update the server utc time when the calendar opens.
If the cache is bug. updating the utc takes some time which causes the _open
method to be slow.
---
.../backends/groupwise/e-cal-backend-groupwise.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/calendar/backends/groupwise/e-cal-backend-groupwise.c b/calendar/backends/groupwise/e-cal-backend-groupwise.c
index a5dd96b..b57152a 100644
--- a/calendar/backends/groupwise/e-cal-backend-groupwise.c
+++ b/calendar/backends/groupwise/e-cal-backend-groupwise.c
@@ -1023,16 +1023,12 @@ connect_to_server (ECalBackendGroupwise *cbgw)
if (priv->cnc ) {
if (priv->cache && priv->container_id) {
- char *utc_str;
priv->mode = CAL_MODE_REMOTE;
if (priv->mode_changed && !priv->dthread) {
priv->mode_changed = FALSE;
fetch_deltas (cbgw);
}
- utc_str = (char *) e_gw_connection_get_server_time (priv->cnc);
- e_cal_backend_cache_put_server_utc_time (priv->cache, utc_str);
-
return GNOME_Evolution_Calendar_Success;
}
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]