@@ -21,6 +21,15 @@ Indicators.FakeIndicatorsModel {
2121 id: root
2222
2323 property var originalModelData: [
24+ {
25+ "identifier": "indicator-keyboard",
26+ "indicatorProperties": {
27+ "enabled": true,
28+ "busName": "com.canonical.indicators.fake0",
29+ "menuObjectPath": "/com/canonical/indicators/fake0",
30+ "actionsObjectPath": "/com/canonical/indicators/fake0"
31+ }
32+ },
2433 {
2534 "identifier": "fake-indicator-bluetooth",
2635 "indicatorProperties": {
@@ -74,6 +83,15 @@ Indicators.FakeIndicatorsModel {
7483 "menuObjectPath": "/com/canonical/indicators/fake6",
7584 "actionsObjectPath": "/com/canonical/indicators/fake6"
7685 }
86+ },
87+ {
88+ "identifier": "fake-indicator-session",
89+ "indicatorProperties": {
90+ "enabled": true,
91+ "busName": "com.canonical.indicators.fake7",
92+ "menuObjectPath": "/com/canonical/indicators/fake7",
93+ "actionsObjectPath": "/com/canonical/indicators/fake7"
94+ }
7795 }
7896 ]
7997
@@ -81,6 +99,11 @@ Indicators.FakeIndicatorsModel {
8199 unload();
82100 root.modelData = originalModelData;
83101
102+ Indicators.UnityMenuModelCache.setCachedModelData("/com/canonical/indicators/fake0",
103+ getUnityMenuModelData("indicator-keyboard",
104+ "Czech (F)",
105+ "",
106+ [ "image://theme/indicator-keyboard-Cs-1" ]));
84107 Indicators.UnityMenuModelCache.setCachedModelData("/com/canonical/indicators/fake1",
85108 getUnityMenuModelData("fake-indicator-bluetooth",
86109 "Bluetooth (F)",
@@ -111,6 +134,11 @@ Indicators.FakeIndicatorsModel {
111134 "Upcoming Events (F)",
112135 "12:04",
113136 []));
137+ Indicators.UnityMenuModelCache.setCachedModelData("/com/canonical/indicators/fake7",
138+ getUnityMenuModelData("fake-indicator-session",
139+ "System (F)",
140+ "",
141+ ["image://theme/system-devices-panel"]));
114142 }
115143
116144 function getUnityMenuModelData(identifier, title, label, icons) {
@@ -173,6 +201,5 @@ Indicators.FakeIndicatorsModel {
173201 break;
174202 }
175203 }
176−
177204 }
178205}