aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2007-09-10 04:07:03 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2007-09-10 04:07:03 +0800
commit7c451bfa676753982b95a2b3feda8df27a32cce2 (patch)
tree4ec9d84c8bba9a2c993e0e9141cf0cb00dec1942
parenta1ef02681576e73a172eae9a003115228dd02fb7 (diff)
downloadgsoc2013-evolution-7c451bfa676753982b95a2b3feda8df27a32cce2.tar
gsoc2013-evolution-7c451bfa676753982b95a2b3feda8df27a32cce2.tar.gz
gsoc2013-evolution-7c451bfa676753982b95a2b3feda8df27a32cce2.tar.bz2
gsoc2013-evolution-7c451bfa676753982b95a2b3feda8df27a32cce2.tar.lz
gsoc2013-evolution-7c451bfa676753982b95a2b3feda8df27a32cce2.tar.xz
gsoc2013-evolution-7c451bfa676753982b95a2b3feda8df27a32cce2.tar.zst
gsoc2013-evolution-7c451bfa676753982b95a2b3feda8df27a32cce2.zip
Fixes #368033
svn path=/trunk/; revision=34205
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/calendar-component.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index d836337d56..2229a90202 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2007-09-10 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #368033
+
+ * gui/calendar-component.c: (ensure_sources):
+ Assign default color for B&A when no color is set.
+
2007-09-10 Chenthill Palanisamy <pchenthill@novell.com>
Fixes#332026
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index 2e8d07d28d..b73d4ecd14 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -300,6 +300,9 @@ ensure_sources (CalendarComponent *component)
if (!e_source_get_property (birthdays_source, "delete"))
e_source_set_property(birthdays_source, "delete", "no");
+ if (e_source_peek_color_spec (birthdays_source) == NULL)
+ e_source_set_color_spec (birthdays_source, "#DDBECE");
+
if (!weather) {
/* Create the weather group */
group = e_source_group_new (_("Weather"), WEATHER_BASE_URI);