AppletScript & configAccepted

Petri Damstén petri.damsten at gmail.com
Thu Sep 11 18:27:06 CEST 2008


On Thursday 11 September 2008 17:47:27 Aaron J. Seigo wrote:
> there is a configChanged() signal from KCoreConfigSkeleton as well; we
> might be able to use that. it gets emitted when writeConfig() is called...
> soooo ... we could do sth like:
>
> * connect d->configXml configChanged to a configChanged signal (or slot?)
> * create dialog using d->configXml
> * writeConfig gets called by the dialog (for free) and that triggers things

I'll write a patch based on this and test it with html applet.

> Petri, since you're working on an html based applet, would you mind coming
> up with an example patch to the webkit appletscript engine that would work
> for you as a consumer of that api?

Diff attached is very much work in progress, but it's a start. At least I 
would like to do something to following issues:
- css from plasma theme colors (Or could plasma theme have some default 
stylesheet, that would benefit news applet too)?
- Background does not work currently.
- more applet functions (setBackgroundHints, resize, etc.)
- Is it ok that dashboard widgets get all the plasma functionality too? Or 
should this be a separate scriptengine.

Petri


-------------- next part --------------
A non-text attachment was scrubbed...
Name: webkit.diff
Type: text/x-patch
Size: 26002 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20080911/70531fea/attachment-0001.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20080911/70531fea/attachment-0001.sig 


More information about the Plasma-devel mailing list