aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-control.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/tasks-control.c')
-rw-r--r--calendar/gui/tasks-control.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/tasks-control.c b/calendar/gui/tasks-control.c
index 8264393573..d046ac3283 100644
--- a/calendar/gui/tasks-control.c
+++ b/calendar/gui/tasks-control.c
@@ -192,8 +192,9 @@ tasks_control_set_property (BonoboPropertyBag *bag,
switch (arg_id) {
case TASKS_CONTROL_PROPERTY_URI_IDX:
+ /* FIXME Remove the old uri? */
uri = BONOBO_ARG_GET_STRING (arg);
- if (!e_tasks_open (tasks, uri)) {
+ if (!e_tasks_add_todo_uri (tasks, uri)) {
char *msg;
msg = g_strdup_printf (_("Could not load the tasks in `%s'"), uri);