On Tuesday 28 July 2009, Richard Dale wrote: > On Tue, Jul 28, 2009 at 2:32 AM, Aaron J. Seigo<ase...@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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel