From kde-panel-devel Thu Dec 30 08:45:07 2010 From: "Aaron J. Seigo" Date: Thu, 30 Dec 2010 08:45:07 +0000 To: kde-panel-devel Subject: Re: Plasmoid settings: More than one global shortcut? Message-Id: <201012300045.07660.aseigo () kde ! org> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=129369880502588 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1705182831==" --===============1705182831== Content-Type: multipart/signed; boundary="nextPart2020518.0WauCtZsz5"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2020518.0WauCtZsz5 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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?=20 it is a centrally managed mechanism to give focus to a given plasmoid. one= =20 action =3D=3D one item on that page. since no one has provided a way to ext= end it=20 further with additional shortcuts, such as plasmoid specific ones as yours= =20 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=20 actions that have a valid globalShortcut() and add those entries to the pag= e.=20 another possibility would be to add an action collection to Applet just for= =20 such global shortcut actions, but that seems like that would be a) overkill= =20 and b) encourage developers to have shortcuts that don't appear in the cont= ext=20 menu. patches welcome. =2D-=20 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 --nextPart2020518.0WauCtZsz5 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEABECAAYFAk0cRpMACgkQ1rcusafx20MK6gCffuTCGeO48T/MMdLKDbNPQKBK n5QAnRgFfu0XhOHNthidvWeX31D5WNHj =jR6l -----END PGP SIGNATURE----- --nextPart2020518.0WauCtZsz5-- --===============1705182831== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============1705182831==--