Verified Commit ebb1a93f authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

applets/taskmanager: add accessible properties to mute button

parent 7a14fe9f
Pipeline #205738 passed with stage
in 5 minutes and 11 seconds
......@@ -85,6 +85,12 @@ MouseArea {
Keys.onEnterPressed: Keys.onReturnPressed(event);
Keys.onSpacePressed: Keys.onReturnPressed(event);
Accessible.checkable: true
Accessible.checked: task.muted task.muted ? i18nc("@action:button", "Unmute") : i18nc("@action:button", "Mute")
Accessible.description: task.muted ? i18nc("@info:tooltip %1 is the window title", "Unmute %1", model.display) : i18nc("@info:tooltip %1 is the window title", "Mute %1", model.display)
Accessible.role: Accessible.Button
PlasmaCore.FrameSvgItem {
anchors.fill: audioStreamIcon
visible: parent.containsMouse || parent.activeFocus
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment