[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Default activities
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2010-10-19 9:24:57
Message-ID: 201010190224.57763.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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

["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