aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/default-source/ChangeLog7
-rw-r--r--plugins/default-source/default-source.c3
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 <mcrha@redhat.com>
+
+ ** 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 <mbarnes@redhat.com>
** 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