Default activities

Aaron J. Seigo aseigo at kde.org
Tue Oct 19 11:24:57 CEST 2010


On Tuesday, October 19, 2010, Chani wrote:
> list, just after akademy iirc. they'll be just like the panel templates
> (eg. "default panel") but DesktopCorona needs a little extra code so that
> an activity is created and the containments the script makes are added to
> that new activity.

on that note, it is also fairly trivial to go from a running activity to a 
script that recreates that activity. i wrote a proof of concept script using 
the desktop scriping console that did this, in fact:

http://aseigo.blogspot.com/2010/08/more-plasma-javascript-plasma-mobile.html
http://plasma.kde.org/media/proofOfConceptLayoutCreator.js

doing similar from C++ in plasma-destop itself wouldn't be hard at all.

scripts should be more portable between systems as well as they could do 
screen coordinates checking, ensure that plasmoids exist before creating them 
etc.

-- 
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 Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101019/397ba0d5/attachment.sig 


More information about the Plasma-devel mailing list