[evolution-patches] patch for bug #62857
- From: chenthill <pchenthill novell com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] patch for bug #62857
- Date: Mon, 16 Aug 2004 22:33:16 +0530
Hi,
The recurrences handling in groupwise is not the same as the file
backend. Groupwise creates different appoinments for the various
Occurences with different uids. This patch returns the uid of the first
component from e_cal_backend_groupwise_create_object which will allow
the client to display the first appointment which would be displayed as
soon as it is created. But the date navigator will not be populated on
the other dates except the date of creation. When the user mouse clicks
on the date navigator, on the date which contains the recurrence
appointment, the appoinment will appear. Or if the user refreshes
evolution, the appointments would appear in evolution with corresponding
dates in the date navigator blocked.
thanks, chenthill.
? patch
? patch_60265.diff
? patch_62866.diff
? populate_cac.diff
? recurrence.diff
? ~?
? backends/groupwise/.e-cal-backend-groupwise.c.swp
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.311
diff -u -r1.311 ChangeLog
--- ChangeLog 14 Aug 2004 05:20:27 -0000 1.311
+++ ChangeLog 16 Aug 2004 16:06:02 -0000
@@ -1,3 +1,12 @@
+2004-08-16 Chenthill Palanisamy <pchenthill novell com>
+
+ Fixes bug #62857
+ * backends/groupwise/e-cal-backend-groupwise.c
+ (e_cal_backend_groupwise_create_object): return
+ the first component from the list of components
+ created for recurrence so that it is displayed in
+ the view.
+
2004-08-13 Hans Petter Jansson <hpj ximian com>
Fixes bug #62655.
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.82
diff -u -r1.82 e-cal-backend-groupwise.c
--- backends/groupwise/e-cal-backend-groupwise.c 10 Aug 2004 12:27:43 -0000 1.82
+++ backends/groupwise/e-cal-backend-groupwise.c 16 Aug 2004 16:06:04 -0000
@@ -1054,6 +1054,7 @@
g_free (server_uid);
/* if successful, update the cache */
e_cal_backend_cache_put_component (priv->cache, comp);
+ *calobj = e_cal_component_get_as_string (comp);
} else {
GList *list = NULL, *tmp;
@@ -1075,6 +1076,10 @@
e_cal_component_commit_sequence (e_cal_comp);
sanitize_component (backend, e_cal_comp, g_ptr_array_index (uid_array, i));
e_cal_backend_cache_put_component (priv->cache, e_cal_comp);
+
+ if (i== 0)
+ *calobj = e_cal_component_get_as_string (e_cal_comp);
+
g_object_unref (e_cal_comp);
}
g_ptr_array_free (uid_array, TRUE);
@@ -1083,8 +1088,6 @@
default :
break;
}
-
- *calobj = e_cal_component_get_as_string (comp);
g_object_unref (comp);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]