From cff0b81f323737c163a5394ebe61042bc6cc404c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 21 Feb 2018 14:03:18 +0100 Subject: [PATCH] tests: Set calendar event source Ever since commit e9e30138bd6 (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 --- tests/interactive/calendar.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/interactive/calendar.js b/tests/interactive/calendar.js index f2a70bb72..fa7e4a680 100644 --- a/tests/interactive/calendar.js +++ b/tests/interactive/calendar.js @@ -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); }