plasma application policies
Aaron J. Seigo
aseigo at kde.org
Tue Jul 28 23:07:18 CEST 2009
On Tuesday 28 July 2009, Richard Dale wrote:
> On Tue, Jul 28, 2009 at 2:32 AM, Aaron J. Seigo<aseigo at kde.org> 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
add their own pages to.
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090728/70577fc4/attachment.sig
More information about the Plasma-devel
mailing list