aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2007-09-10 04:53:16 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2007-09-10 04:53:16 +0800
commit0245574d7861af23f7d1cde9f3208f0eb7581c21 (patch)
tree16243894aff677883137b3cdf7776b6d8cf77117 /plugins
parent7c451bfa676753982b95a2b3feda8df27a32cce2 (diff)
downloadgsoc2013-evolution-0245574d7861af23f7d1cde9f3208f0eb7581c21.tar
gsoc2013-evolution-0245574d7861af23f7d1cde9f3208f0eb7581c21.tar.gz
gsoc2013-evolution-0245574d7861af23f7d1cde9f3208f0eb7581c21.tar.bz2
gsoc2013-evolution-0245574d7861af23f7d1cde9f3208f0eb7581c21.tar.lz
gsoc2013-evolution-0245574d7861af23f7d1cde9f3208f0eb7581c21.tar.xz
gsoc2013-evolution-0245574d7861af23f7d1cde9f3208f0eb7581c21.tar.zst
gsoc2013-evolution-0245574d7861af23f7d1cde9f3208f0eb7581c21.zip
Fixes #330223
svn path=/trunk/; revision=34206
Diffstat (limited to 'plugins')
-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