Georges Basile Stavracas Neto
c175599550
view: Replace the manager property by the context
2019-04-25 16:30:55 -03:00
Georges Basile Stavracas Neto
cfa8794313
manager: Move GcalClock to GcalApplication
...
GcalManager is basically an object that is shared
among classes that need to modify calendars, while
GcalClock is just a wall clock implementation.
Move it to GcalApplication, so that objects without
access to GcalManager can still access the clock.
2018-05-04 21:37:53 -03:00
Georges Basile Stavracas Neto
b70f3fa0b6
month-view: fix another allocation cycle
2017-12-12 11:06:46 -02:00
Florian Brosch
67f3a2057e
month-cell: Display temperatures
2017-12-11 22:06:52 -02:00
Florian Brosch
e9e403ce7a
month-view: Show weather reports.
...
This commit triggers two existing issues:
1. window size calculation
(this breaks month-cells)
2. wrong reference counts in views
(I use :destroy to avoid dangling pointers)
2017-12-11 21:54:55 -02:00
Georges Basile Stavracas Neto
8d6785b6f7
month-view: implement a different hiding algorithm
...
As if the previous one wasn't crazy enough :(
2017-11-13 19:27:55 -02:00
Georges Basile Stavracas Neto
2a11959bdd
month-cell: show +X in overflow label
...
Instead of "Other X Events".
2017-11-11 18:15:18 -02:00
Georges Basile Stavracas Neto
b5ad149261
month-cell: improve calculation of header box height
...
Should also consider the top and bottom margins.
2017-11-11 18:15:02 -02:00
Georges Basile Stavracas Neto
4dd4c2410f
month-cell: Move day label to top, split from overflow
2017-11-11 17:48:59 -02:00
Georges Basile Stavracas Neto
5977eeefc8
month-cell: only update label when date changes
...
If the date is the same, we don't need to update the label.
This might cause an infinite resize loop.
2017-10-31 01:11:26 -02:00
Georges Basile Stavracas Neto
e59910f0e9
month-view: rewrite was a template widget
2017-10-06 20:32:00 -03:00