aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-control.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-11-17 09:20:38 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-11-17 09:20:38 +0800
commit4daa7491aad977c5fa705076e3ca9b80e51b3ab5 (patch)
tree10eea8608e62b3c212da4fd17dda0fb1976cb66e /calendar/gui/tasks-control.c
parent2bc14e22e9a7964cc73e6551acfe935f6f4d1b8f (diff)
downloadgsoc2013-evolution-4daa7491aad977c5fa705076e3ca9b80e51b3ab5.tar.gz
gsoc2013-evolution-4daa7491aad977c5fa705076e3ca9b80e51b3ab5.tar.zst
gsoc2013-evolution-4daa7491aad977c5fa705076e3ca9b80e51b3ab5.zip
add a uri
2003-11-16 JP Rosevear <jpr@ximian.com> * gui/tasks-control.c (tasks_control_set_property): add a uri * gui/e-tasks.c: kill e_tasks_open * gui/e-tasks.h: remove proto svn path=/trunk/; revision=23376
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);