1.1 --- a/EventAggregatorSupport.py Sun Feb 20 23:46:37 2011 +0100
1.2 +++ b/EventAggregatorSupport.py Mon Mar 14 21:31:15 2011 +0100
1.3 @@ -928,15 +928,20 @@
1.4
1.5 # Find the coverage of this period for the event.
1.6
1.7 - event_location = event_details.get("location")
1.8 + # For day views, each location has its own slot, but for month
1.9 + # views, all locations are pooled together since having separate
1.10 + # slots for each location can lead to poor usage of vertical space.
1.11 +
1.12 + if resolution == "datetime":
1.13 + event_location = event_details.get("location")
1.14 + else:
1.15 + event_location = None
1.16
1.17 # Update the overall coverage.
1.18
1.19 full_coverage.insert_in_order(event)
1.20
1.21 # Add a new events list for a new location.
1.22 - # NOTE: Consider not doing this for month views, since it can lead
1.23 - # NOTE: to poor usage of space.
1.24 # Locations can be unspecified, thus None refers to all unlocalised
1.25 # events.
1.26