[gnome-shell/wip/fmuellner/test-fixes: 6/6] tests: Set calendar event source
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/test-fixes: 6/6] tests: Set calendar event source
- Date: Wed, 21 Feb 2018 13:32:25 +0000 (UTC)
commit cff0b81f323737c163a5394ebe61042bc6cc404c
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Feb 21 14:03:18 2018 +0100
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]