Index: sources/gui/qml/components/NotificationBar.qml =================================================================== diff -u -r45ce6e781782be5de1480a1e7acecd1d272bcc84 -r43cdee7bb03f7fa0bd5c2bba7f9d011bb06806b1 --- sources/gui/qml/components/NotificationBar.qml (.../NotificationBar.qml) (revision 45ce6e781782be5de1480a1e7acecd1d272bcc84) +++ sources/gui/qml/components/NotificationBar.qml (.../NotificationBar.qml) (revision 43cdee7bb03f7fa0bd5c2bba7f9d011bb06806b1) @@ -29,6 +29,7 @@ property alias timeout : _muteButton.timeout property alias backgroundColor : _root.color property alias iconVisible : _icon.visible + property bool enableMute : true visible : _text.text height : Variables.notificationHeight @@ -41,6 +42,7 @@ } signal maximizeClicked() + signal muteClicked() signal clicked() Image { @@ -78,8 +80,8 @@ // but call the same as the rest of the bar for now // when it has it's own event then the borderColor transparency can be removed as well // to indicate the touchable area. - borderColor: Colors.transparent - onClicked: _root.clicked() + borderColor : _root.enableMute ? Colors.white : Colors.transparent + onClicked : _root.enableMute ? _root.muteClicked(): _root.clicked() } UpDownButton {