From kde-panel-devel Tue Jul 28 21:07:18 2009 From: "Aaron J. Seigo" Date: Tue, 28 Jul 2009 21:07:18 +0000 To: kde-panel-devel Subject: Re: plasma application policies Message-Id: <200907281507.18600.aseigo () kde ! org> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=124881572419814 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1347866367==" --===============1347866367== Content-Type: multipart/signed; boundary="nextPart1487904.slqLi0mxrz"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1487904.slqLi0mxrz Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Tuesday 28 July 2009, Richard Dale wrote: > On Tue, Jul 28, 2009 at 2:32 AM, Aaron J. Seigo wrote: > > the script engine situation is probably the easiest of the bunch: just > > add a method to the script engine that states what it does with > > configuration (e.g. setProvidesCustomizedConfiguration(bool)) and query > > that when deciding what to do with the configuration action. > > I would like something like this so that Google Gadgets etc can return > 'yes' and scripts engines like Ruby or Python that want KDE dialogs > can return 'no'. that would be the idea indeed. > I noticed that a global shortcuts page is now in the standard dialog, > and have translated the code for that to Ruby but not commited it yet. > I can't use the C++ implementation because the methods are private. there is this in AppletScriptEngine: KConfigDialog *standardConfigurationDialog(); so you can get the standard dialog and then pass that on to the Ruby script= to=20 add their own pages to. =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 Software --nextPart1487904.slqLi0mxrz Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkpvaIYACgkQ1rcusafx20PebQCeJoFHJZ7szg73hrBfHkmiiQWm +DQAn0SyZR77tkRTc0yb7yfkZ/HJnIT0 =dX4d -----END PGP SIGNATURE----- --nextPart1487904.slqLi0mxrz-- --===============1347866367== 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 --===============1347866367==--