aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-01-16 04:36:32 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-01-16 04:36:32 +0800
commit359bc474c015e2d54001204c4015f3216d408591 (patch)
treee22831fa3853a861a12aa34a6731088476d7f681 /calendar/pcs
parent0d86824e0905033cabd2550930ef2acbd3cbf3cf (diff)
downloadgsoc2013-evolution-359bc474c015e2d54001204c4015f3216d408591.tar.gz
gsoc2013-evolution-359bc474c015e2d54001204c4015f3216d408591.tar.zst
gsoc2013-evolution-359bc474c015e2d54001204c4015f3216d408591.zip
accomadate tasks in their new dir
2001-01-15 JP Rosevear <jpr@ximian.com> * pcs/cal-backend.c (cal_backend_compute_changes): accomadate tasks in their new dir * conduits/todo/todo-conduit.c (start_calendar_server): ditto svn path=/trunk/; revision=7512
Diffstat (limited to 'calendar/pcs')
-rw-r--r--calendar/pcs/cal-backend.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/pcs/cal-backend.c b/calendar/pcs/cal-backend.c
index 9570b85d7f..0dc5d45883 100644
--- a/calendar/pcs/cal-backend.c
+++ b/calendar/pcs/cal-backend.c
@@ -332,7 +332,10 @@ 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 */
- filename = g_strdup_printf ("%s/evolution/local/Calendar/%s.db", g_get_home_dir (), change_id);
+ if (type == GNOME_Evolution_Calendar_TYPE_EVENT)
+ 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);
ehash = e_dbhash_new (filename);
g_free (filename);