tests: Set calendar event source

Ever since commit e9e30138bd (2011!), the calendar only initialized
the header at construction time. Set an event source to trigger an
update of the content area, which is what the test is mainly intended
for.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38
This commit is contained in:
Florian Müllner 2018-02-21 14:03:18 +01:00
parent 23d6c4dcc0
commit cff0b81f32

View File

@ -23,6 +23,7 @@ function test() {
{ expand: true,
x_fill: false, x_align: St.Align.MIDDLE,
y_fill: false, y_align: St.Align.START });
calendar.setEventSource(new Calendar.EmptyEventSource());
UI.main(stage);
}