[evolution-patches] fix for the bug #73336 [calendar]
- From: chenthill <pchenthill novell com>
- To: patches <evolution-patches lists ximian com>
- Subject: [evolution-patches] fix for the bug #73336 [calendar]
- Date: Tue, 22 Mar 2005 19:19:00 +0530
Hi,
When the calendar is started from offline and then moved to online,
the container id will not be present. Added a check for it and if
container id is not present, we get it in the subsequent calls (from the
else part).
thanks, chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.440
diff -u -p -r1.440 ChangeLog
--- ChangeLog 15 Mar 2005 01:48:03 -0000 1.440
+++ ChangeLog 22 Mar 2005 13:42:19 -0000
@@ -1,5 +1,12 @@
2005-03-12 Chenthill Palanisamy <pchenthill novell com>
+ Fixes #73336
+ * backends/groupwise/e-cal-backend-groupwise.c:
+ (connect_to_server): Check for the container id
+ before calling the cache init.
+
+2005-03-12 Chenthill Palanisamy <pchenthill novell com>
+
* backends/groupwise/e-cal-backend-groupwise.c:
(connect_to_server): Run the get deltas in a thread to
avoid the inresponsiveness of the GUI when evolution
Index: backends/groupwise/e-cal-backend-groupwise.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/backends/groupwise/e-cal-backend-groupwise.c,v
retrieving revision 1.139
diff -u -p -r1.139 e-cal-backend-groupwise.c
--- backends/groupwise/e-cal-backend-groupwise.c 14 Mar 2005 05:19:44 -0000 1.139
+++ backends/groupwise/e-cal-backend-groupwise.c 22 Mar 2005 13:42:20 -0000
@@ -546,7 +546,7 @@ connect_to_server (ECalBackendGroupwise
/* we need to read actual rights from server when we implement proxy user access */
cbgw->priv->read_only = FALSE;
- if (priv->cnc && priv->cache) {
+ if (priv->cnc && priv->cache && priv->container_id) {
priv->mode = CAL_MODE_REMOTE;
if (priv->mode_changed && !priv->timeout_id && (e_cal_backend_get_kind (E_CAL_BACKEND (cbgw)) == ICAL_VEVENT_COMPONENT)) {
GThread *thread1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]