diff options
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/calendar-component.c | 3 |
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); |