@@ -20,6 +20,7 @@
21import QtQuick 2.4
21import QtQuick 2.4
22import Ubuntu.Components 1.3
22import Ubuntu.Components 1.3
23import "../.."
24import "../.."
@@ -77,11 +78,29 @@ Page {
78 Component {
79 Component {
80− IndicatorPage {
81+ PanelMenuPage {
82+ objectName: model.identifier + "-page"
85+ menuModel: delegate.menuModel
87+ factory: IndicatorMenuItemFactory {
81− identifier: model.identifier
89+ var context = model.identifier;
90+ if (context && context.indexOf("fake-") === 0) {
91+ context = context.substring("fake-".length)
95+ rootModel: delegate.menuModel
82− busName: indicatorProperties.busName
100+ busName: indicatorProperties.busName
83− actionsObjectPath: indicatorProperties.actionsObjectPath
101+ actionsObjectPath: indicatorProperties.actionsObjectPath
84− menuObjectPath: indicatorProperties.menuObjectPath
102+ menuObjectPath: indicatorProperties.menuObjectPath
87 Component {
106 Component {