[evolution-patches] System Tasks Loading
- From: JP Rosevear <jpr novell com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] System Tasks Loading
- Date: Wed, 06 Oct 2004 12:34:38 -0400
-JP
--
JP Rosevear <jpr novell com>
Novell, Inc.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.324.2.5
diff -u -p -r1.324.2.5 ChangeLog
--- ChangeLog 28 Sep 2004 15:57:45 -0000 1.324.2.5
+++ ChangeLog 6 Oct 2004 16:37:04 -0000
@@ -1,3 +1,15 @@
+2004-10-06 JP Rosevear <jpr novell com>
+
+ * libecal/e-cal.c (e_cal_new_system_tasks): load the correct type
+ of events
+
+2004-10-04 JP Rosevear <jpr novell com>
+
+ Fixes #67513
+
+ * libecal/e-cal.c (cal_objects_sent_cb): deep copy the user list
+ data
+
2004-09-28 Rodrigo Moya <rodrigo novell com>
Fixes #66230
Index: libecal/e-cal.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/libecal/e-cal.c,v
retrieving revision 1.75.2.2
diff -u -p -r1.75.2.2 e-cal.c
--- libecal/e-cal.c 24 Sep 2004 14:24:03 -0000 1.75.2.2
+++ libecal/e-cal.c 6 Oct 2004 16:37:05 -0000
@@ -632,6 +632,7 @@ cal_objects_sent_cb (ECalListener *liste
{
ECal *ecal = data;
ECalendarOp *op;
+ GList *l;
op = e_calendar_get_op (ecal);
@@ -646,6 +647,9 @@ cal_objects_sent_cb (ECalListener *liste
op->list = g_list_copy (users);
op->string = g_strdup (object);
+ for (l = op->list; l; l = l->next)
+ l->data = g_strdup (l->data);
+
g_cond_signal (op->cond);
g_mutex_unlock (op->mutex);
@@ -1428,7 +1432,7 @@ e_cal_new_system_tasks (void)
char *uri;
uri = g_build_filename ("file://", g_get_home_dir (), ".evolution", "tasks", "local", "system", NULL);
- ecal = e_cal_new_from_uri (uri, E_CAL_SOURCE_TYPE_EVENT);
+ ecal = e_cal_new_from_uri (uri, E_CAL_SOURCE_TYPE_TODO);
g_free (uri);
return ecal;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]