@@ -26,6 +26,8 @@ Item {
26 readonly property int stepUp: 1
26 readonly property int stepUp: 1
27 readonly property int stepDown: -1
27 readonly property int stepDown: -1
29+ property var indicators // passed from Shell.qml
29 QDBusActionGroup {
31 QDBusActionGroup {
30 id: actionGroup
32 id: actionGroup
31 busType: 1
33 busType: 1
@@ -45,12 +47,13 @@ Item {
47 Connections {
49 Connections {
48− target: panel.indicators
50+ target: indicators
49 onFullyOpenedChanged: { // disallow the volume notification when using the slider
51 onFullyOpenedChanged: { // disallow the volume notification when using the slider
50− if (target.fullyOpened)
52+ if (indicators.fullyOpened) {
51− actionGroup.indicatorsAction.updateState(true)
53+ actionGroup.indicatorsAction.updateState(true);
53− actionGroup.indicatorsAction.updateState(false)
55+ actionGroup.indicatorsAction.updateState(false);