1.1 --- a/README.txt Wed Jan 06 00:06:56 2010 +0100
1.2 +++ b/README.txt Mon Jan 18 01:00:35 2010 +0100
1.3 @@ -157,6 +157,9 @@
1.4
1.5 * Changed the EventAggregatorNewEvent action to substitute only the stated
1.6 title, not the full page title, into the new page.
1.7 + * Changed event colouring to use the event summary as the basis for
1.8 + calculating the colour used in the calendar. This means that related
1.9 + events can be coloured identically if their summaries are the same.
1.10
1.11 New in EventAggregator 0.4 (Changes since EventAggregator 0.3)
1.12 --------------------------------------------------------------
2.1 --- a/macros/EventAggregator.py Wed Jan 06 00:06:56 2010 +0100
2.2 +++ b/macros/EventAggregator.py Mon Jan 18 01:00:35 2010 +0100
2.3 @@ -636,7 +636,7 @@
2.4
2.5 # Generate a colour for the event.
2.6
2.7 - bg = getColour(event_page.page_name)
2.8 + bg = getColour(event_summary)
2.9 fg = getBlackOrWhite(bg)
2.10 style = ("background-color: rgb(%d, %d, %d); color: rgb(%d, %d, %d);" % (bg + fg))
2.11