@@ -26,6 +26,12 @@ 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
30+ readonly property bool showNotification: indicators && indicators.fullyOpened && indicators.currentIndicator === "indicator-sound"
31+ onShowNotificationChanged: { // disallow the volume notification when using the slider, lpbug#1484126
32+ actionGroup.indicatorsAction.updateState(root.showNotification);
29 QDBusActionGroup {
35 QDBusActionGroup {
30 id: actionGroup
36 id: actionGroup
31 busType: 1
37 busType: 1
@@ -33,6 +39,7 @@ Item {
33 objectPath: "/com/canonical/indicator/sound"
39 objectPath: "/com/canonical/indicator/sound"
35 property variant actionObject: action("volume")
41 property variant actionObject: action("volume")
42+ property variant indicatorsAction: action("indicator-shown")
38 function volumeUp() {
45 function volumeUp() {