Verified Commit 05c31540 authored by ivan tkachenko's avatar ivan tkachenko
Browse files

applets/taskmanager: Use an icon for the "Move to Desktop" -> "New Desktop" action

Taken from a pager applet, where all actions have icons. Already ported
to KWin's UserActionsMenu in kwin@e9cd8be3.
parent fa497c09
Pipeline #225882 passed with stage
in 3 minutes and 6 seconds
......@@ -358,6 +358,7 @@ PlasmaComponents.ContextMenu {
menuItem = menu.newMenuItem(virtualDesktopsMenu);
menuItem.text = i18n("&New Desktop");
menuItem.icon = "list-add";
menuItem.clicked.connect(function() {
tasksModel.requestNewVirtualDesktop(menu.modelIndex);
});
......
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