[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: plasma application policies
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2009-07-28 21:07:18
Message-ID: 200907281507.18600.aseigo () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Tuesday 28 July 2009, Richard Dale wrote:
> On Tue, Jul 28, 2009 at 2:32 AM, Aaron J. Seigo<aseigo@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" (application/pgp-signature)]
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic