on xenial help sign in
fakeindicatorsmodeldata: add fake indicator keyboard elements
cd68606Marco Trevisan (Treviño)
tests/mocks/Unity/Indicators/fakeindicatorsmodeldata.js+116−4
@@ -339,7 +339,7 @@ var fakeMenuData = {
339 "submenu": [
339 "submenu": [
340 {
340 {
341 "rowData": {
341 "rowData": {
342− "label": "Livello di carica",
342+ "label": "Charge Level",
343 "sensitive": false,
343 "sensitive": false,
344 "isSeparator": false,
344 "isSeparator": false,
345 "icon": "",
345 "icon": "",
@@ -593,7 +593,6 @@ var fakeMenuData = {
593 }
593 }
594 ],
594 ],
595
595
596−
597 "fake-indicator-datetime": [
596 "fake-indicator-datetime": [
598 {
597 {
599 "rowData": {
598 "rowData": {
@@ -784,7 +783,6 @@ var fakeMenuData = {
784 }
783 }
785 ],
784 ],
786
785
787−
788 "fake-indicator-files": [
786 "fake-indicator-files": [
789 {
787 {
790 "rowData": {
788 "rowData": {
@@ -1159,5 +1157,119 @@ var fakeMenuData = {
1159 }
1157 }
1160 ]
1158 ]
1161 }
1159 }
1162− ]
1160+ ],
1161+
1162+ "indicator-keyboard": [
1163+ {
1164+ "rowData": {
1165+ "action": "indicator.indicator",
1166+ "actionState": {
1167+ "icons": [],
1168+ "label": "",
1169+ "title": "English (USA, QWERTY)",
1170+ "visible": true
1171+ },
1172+ "icon": "",
1173+ "isCheck": false,
1174+ "isRadio": false,
1175+ "isSeparator": false,
1176+ "isToggled": false,
1177+ "label": "",
1178+ "sensitive": true,
1179+ "type": "com.canonical.indicator.root"
1180+ },
1181+ "submenu": [
1182+ {
1183+ "rowData": {
1184+ "label": "České (QWERTY)",
1185+ "sensitive": true,
1186+ "isSeparator": false,
1187+ "icon": "image://theme/indicator-keyboard-Cs",
1188+ "type": "",
1189+ "ext": {},
1190+ "action": "indicator.current",
1191+ "actionState": 0,
1192+ "isCheck": false,
1193+ "isRadio": true,
1194+ "isToggled": false
1195+ }
1196+ },
1197+ {
1198+ "rowData": {
1199+ "label": "Italiana (QWERTY)",
1200+ "sensitive": true,
1201+ "isSeparator": false,
1202+ "icon": "image://theme/indicator-keyboard-It",
1203+ "type": "",
1204+ "ext": {},
1205+ "action": "indicator.current",
1206+ "actionState": 0,
1207+ "isCheck": false,
1208+ "isRadio": true,
1209+ "isToggled": false
1210+ }
1211+ },
1212+ {
1213+ "rowData": {
1214+ "label": "English (USA)",
1215+ "sensitive": true,
1216+ "isSeparator": false,
1217+ "icon": "image://theme/indicator-keyboard-En",
1218+ "type": "",
1219+ "ext": {},
1220+ "action": "indicator.current",
1221+ "actionState": 0,
1222+ "isCheck": false,
1223+ "isRadio": true,
1224+ "isToggled": true
1225+ }
1226+ },
1227+ {
1228+ "rowData": {
1229+ "label": "",
1230+ "sensitive": true,
1231+ "isSeparator": true,
1232+ "icon": "",
1233+ "type": "",
1234+ "ext": {},
1235+ "action": "",
1236+ "actionState": "",
1237+ "isCheck": false,
1238+ "isRadio": false,
1239+ "isToggled": false
1240+ }
1241+ },
1242+ {
1243+ "rowData": {
1244+ "label": "Character Map",
1245+ "sensitive": true,
1246+ "isSeparator": false,
1247+ "icon": "",
1248+ "type": "",
1249+ "ext": {},
1250+ "action": "indicator.map",
1251+ "actionState": "",
1252+ "isCheck": false,
1253+ "isRadio": false,
1254+ "isToggled": false
1255+ }
1256+ },
1257+ {
1258+ "rowData": {
1259+ "label": "Keyboard layout",
1260+ "sensitive": true,
1261+ "isSeparator": false,
1262+ "icon": "",
1263+ "type": "",
1264+ "ext": {},
1265+ "action": "indicator.key-map",
1266+ "actionState": "",
1267+ "isCheck": false,
1268+ "isRadio": false,
1269+ "isToggled": false
1270+ }
1271+ }
1272+ ]
1273+ }
1274+ ],
1163}
1275}