aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-10-27 19:29:23 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-10-27 19:29:23 +0800
commitd14abf0434d773d6aecb63a54b79af4ea468c8d3 (patch)
tree1f1cf95fb1754d1a6fae34a6048010f65e42181c /calendar
parent285996988d5485b8470b8041334024b2bba74ec3 (diff)
downloadgsoc2013-evolution-d14abf0434d773d6aecb63a54b79af4ea468c8d3.tar
gsoc2013-evolution-d14abf0434d773d6aecb63a54b79af4ea468c8d3.tar.gz
gsoc2013-evolution-d14abf0434d773d6aecb63a54b79af4ea468c8d3.tar.bz2
gsoc2013-evolution-d14abf0434d773d6aecb63a54b79af4ea468c8d3.tar.lz
gsoc2013-evolution-d14abf0434d773d6aecb63a54b79af4ea468c8d3.tar.xz
gsoc2013-evolution-d14abf0434d773d6aecb63a54b79af4ea468c8d3.tar.zst
gsoc2013-evolution-d14abf0434d773d6aecb63a54b79af4ea468c8d3.zip
pass FALSE as the 'only_if_exists' parameter, so that the calendar gets
2003-10-27 Rodrigo Moya <rodrigo@ximian.com> * gui/tasks-component.c (add_uri_for_source): pass FALSE as the 'only_if_exists' parameter, so that the calendar gets created when it still does not exist. svn path=/trunk/; revision=23080
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/tasks-component.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 5990fd5f65..94f4c3fd3f 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2003-10-27 Rodrigo Moya <rodrigo@ximian.com>
+
+ * gui/tasks-component.c (add_uri_for_source): pass FALSE as the
+ 'only_if_exists' parameter, so that the calendar gets created when
+ it still does not exist.
+
2003-10-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/tasks-component.c (tasks_component_init): initialize private
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c
index 6c5e305284..bb9d0fe46f 100644
--- a/calendar/gui/tasks-component.c
+++ b/calendar/gui/tasks-component.c
@@ -62,7 +62,7 @@ add_uri_for_source (ESource *source, ETasks *tasks)
client = e_cal_model_get_client_for_uri (model, uri);
if (!client) {
client = cal_client_new (uri, CALOBJ_TYPE_TODO);
- if (cal_client_open (client, TRUE, &error)) {
+ if (cal_client_open (client, FALSE, &error)) {
e_cal_model_add_client (model, client);
} else {
g_warning (G_STRLOC ": Could not open tasks at %s: %s", uri, error->message);