aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-01-17 21:59:22 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-01-17 21:59:22 +0800
commit662c83efed64f9bdd27bd9af42e05cb69a41c3e2 (patch)
treee58dc32f5d5d64d7a7f4134e1a7988222891e2d8
parent3e5f2a63e41b4fc7be729697aa317148141ef9e0 (diff)
downloadgsoc2013-evolution-662c83efed64f9bdd27bd9af42e05cb69a41c3e2.tar
gsoc2013-evolution-662c83efed64f9bdd27bd9af42e05cb69a41c3e2.tar.gz
gsoc2013-evolution-662c83efed64f9bdd27bd9af42e05cb69a41c3e2.tar.bz2
gsoc2013-evolution-662c83efed64f9bdd27bd9af42e05cb69a41c3e2.tar.lz
gsoc2013-evolution-662c83efed64f9bdd27bd9af42e05cb69a41c3e2.tar.xz
gsoc2013-evolution-662c83efed64f9bdd27bd9af42e05cb69a41c3e2.tar.zst
gsoc2013-evolution-662c83efed64f9bdd27bd9af42e05cb69a41c3e2.zip
Fix transposition of sync db location
2001-01-17 JP Rosevear <jpr@ximian.com> * pcs/cal-backend.c (cal_backend_compute_changes): Fix transposition of sync db location svn path=/trunk/; revision=7575
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/pcs/cal-backend.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index c3f1a55047..1136fe18f4 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-17 JP Rosevear <jpr@ximian.com>
+
+ * pcs/cal-backend.c (cal_backend_compute_changes): Fix transposition
+ of sync db location
+
2001-01-17 Federico Mena Quintero <federico@ximian.com>
* */*: Ximianified email addresses and copyrights.
diff --git a/calendar/pcs/cal-backend.c b/calendar/pcs/cal-backend.c
index 6353fbbcd7..b51452c793 100644
--- a/calendar/pcs/cal-backend.c
+++ b/calendar/pcs/cal-backend.c
@@ -271,7 +271,7 @@ cal_backend_compute_changes (CalBackend *backend, CalObjType type, const char *c
int n;
/* Find the changed ids - FIX ME, path should not be hard coded */
- if (type == GNOME_Evolution_Calendar_TYPE_EVENT)
+ if (type == GNOME_Evolution_Calendar_TYPE_TODO)
filename = g_strdup_printf ("%s/evolution/local/Tasks/%s.db", g_get_home_dir (), change_id);
else
filename = g_strdup_printf ("%s/evolution/local/Calendar/%s.db", g_get_home_dir (), change_id);