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

applets/window-list: use more proper accessible properties

The current accessible name is the window name. Use applet name instead
to represent what purpose the button actually serves: show a window list.
parent dcfd0c13
Pipeline #207159 passed with stage
in 4 minutes and 52 seconds
......@@ -71,6 +71,9 @@ Item {
onClicked: tasksMenu.open()
down: pressed || tasksMenu.status === PC2.DialogStatus.Open
Accessible.name: Plasmoid.title
Accessible.description: Plasmoid.toolTipSubText
text: if (tasksModel.activeTask.valid) {
return tasksModel.data(tasksModel.activeTask, TaskManager.AbstractTasksModel.AppName) ||
tasksModel.data(tasksModel.activeTask, 0 /* display name, window title if app name not present */)
......
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