Plasmoid settings: More than one global shortcut?
Aaron J. Seigo
aseigo at kde.org
Thu Dec 30 09:45:07 CET 2010
On Wednesday, December 29, 2010, Nik Lutz wrote:
> I see no way to add more shortcuts to the "Keyboard Shortcut" page of
> a plasmoid. Why?
it is a centrally managed mechanism to give focus to a given plasmoid. one
action == one item on that page. since no one has provided a way to extend it
further with additional shortcuts, such as plasmoid specific ones as yours
needs/wants to, it hasn't gained any additional features.
> Is there a workaround?
not currently.
one possible approach would be to check Applet::contextualActions() for
actions that have a valid globalShortcut() and add those entries to the page.
another possibility would be to add an action collection to Applet just for
such global shortcut actions, but that seems like that would be a) overkill
and b) encourage developers to have shortcuts that don't appear in the context
menu.
patches welcome.
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101230/2a9d27d9/attachment-0001.sig
More information about the Plasma-devel
mailing list