From 0245574d7861af23f7d1cde9f3208f0eb7581c21 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Sun, 9 Sep 2007 20:53:16 +0000 Subject: Fixes #330223 svn path=/trunk/; revision=34206 --- plugins/default-source/ChangeLog | 7 +++++++ plugins/default-source/default-source.c | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/plugins/default-source/ChangeLog b/plugins/default-source/ChangeLog index f8125968ff..08e8096613 100644 --- a/plugins/default-source/ChangeLog +++ b/plugins/default-source/ChangeLog @@ -1,3 +1,10 @@ +2007-09-10 Milan Crha + + ** Fix for bug #330223 + + * default-source.c: (commit_default_calendar): + Added type E_CAL_SOURCE_TYPE_JOURNAL to other types. + 2007-03-20 Matthew Barnes ** Fixes part of bug #419524 diff --git a/plugins/default-source/default-source.c b/plugins/default-source/default-source.c index c1fe71d761..f6a670bdf6 100644 --- a/plugins/default-source/default-source.c +++ b/plugins/default-source/default-source.c @@ -41,8 +41,7 @@ commit_default_calendar (EPlugin *epl, EConfigTarget *target) cal_target = (ECalConfigTargetSource *) target; source = cal_target->source; if (e_source_get_property (source, "default")) - if (!e_cal_set_default_source (source, E_CAL_SOURCE_TYPE_EVENT, NULL)) - e_cal_set_default_source (source, E_CAL_SOURCE_TYPE_TODO, NULL); + e_cal_set_default_source (source, cal_target->source_type, NULL); } void -- cgit