@@ -396,7 +396,7 @@ Item {
397 function test_create_appointmentMenu_data() {
397 function test_create_appointmentMenu_data() {
399− {label: "testLabel1", enabled: true, icon: "file:///testIcon1", color: Qt.rgba(0, 0, 0, 0),
399+ {label: "testLabel1", enabled: true, icon: "file:///testIcon1", color: Qt.rgba(1, 2, 3, 0),
400 time: new Date(2014, 04, 14), timeFormat: "%a %d %b %l:%M %p"},
400 time: new Date(2014, 04, 14), timeFormat: "%a %d %b %l:%M %p"},
401 {label: "testLabel2", enabled: false, icon: "file:///testIcon2", color: Qt.rgba(1, 0, 0, 0),
401 {label: "testLabel2", enabled: false, icon: "file:///testIcon2", color: Qt.rgba(1, 0, 0, 0),
402 time: new Date(2015, 11, 31), timeFormat: "%A" },
402 time: new Date(2015, 11, 31), timeFormat: "%A" },
@@ -409,7 +409,7 @@ Item {
409 menuData.sensitive = data.enabled;
409 menuData.sensitive = data.enabled;
410 menuData.icon = data.icon;
410 menuData.icon = data.icon;
411 menuData.ext = {
411 menuData.ext = {
412− 'xCanonicalColor': data.colour,
412+ 'xCanonicalColor': data.color,
413 'xCanonicalTime': data.time.getTime() / 1000 // expected in seconds
413 'xCanonicalTime': data.time.getTime() / 1000 // expected in seconds