[Differential] [Request, 71 lines] D3581: [PlasmaShell] Introduce activateTaskManagerEntry(index) method
broulik (Kai Uwe Broulik)
noreply at phabricator.kde.org
Sat Dec 3 17:10:58 UTC 2016
broulik created this revision.
broulik added a reviewer: Plasma.
broulik set the repository for this revision to R120 Plasma Workspace.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
It registers global shortcuts Meta+1 through 9 and 0 and will ask the first task manager it finds* to activate the task at the given index.
*) It searches all panels on the primary screen for an applet that provides "multitasking" (ie. task manager, icon task, window list) and invokes said method. If there is none, it will then search all panels. This will fit the 90% usecase and avoids an overly complex configuration workflow
TEST PLAN
I now have 10 new global shortcuts in "Plasmashell" global shortcuts config and pressing them calls the method and invokes said method on task manager.
This replaces https://phabricator.kde.org/D2680 and will be accompanied by a patch for task manager
REPOSITORY
R120 Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D3581
AFFECTED FILES
shell/shellcorona.cpp
shell/shellcorona.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: broulik, #plasma
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161203/a261a35e/attachment.html>
More information about the Plasma-devel
mailing list