on xenial help sign in
fakeindicatorsmodeldata: add alarm example
commitf37914ee14ffc7a12a9978531aa0cc64c1d4eb77 authorMarco Trevisan (Treviño) <mail@3v1n0.net> dateMon 31 Oct 2016, 17:18 (10 years ago) parentc0ab86f
1 file changed+17
tests/mocks/Unity/Indicators/fakeindicatorsmodeldata.js+17
tests/mocks/Unity/Indicators/fakeindicatorsmodeldata.js+17
@@ -696,6 +696,23 @@ var fakeMenuData = {
696696 "type": ""
697697 }
698698 },
699+ {
700+ "rowData": {
701+ "action": "indicator.phone.open-appointment",
702+ "actionState": {},
703+ "ext": {
704+ "xCanonicalTime": (new Date).getTime() / 1000 + 55 * 60
705+ },
706+ "icon": "image://theme/alarm-clock",
707+ "isCheck": false,
708+ "isRadio": false,
709+ "isSeparator": false,
710+ "isToggled": false,
711+ "label": "Wake up!",
712+ "sensitive": true,
713+ "type": "com.canonical.indicator.alarm"
714+ }
715+ },
699716 {
700717 "rowData": {
701718 "action": "indicator.phone.open-appointment",