Anti (gran)parents panel removing

Aaron J. Seigo aseigo at kde.org
Thu Apr 8 06:47:32 CEST 2010


On April 7, 2010, Marco Martin wrote:
> On Wednesday 07 April 2010, Aaron J. Seigo wrote:
> > > > add panel -> Panel With Default Widgets. that would either run a
> > > > small javascript or just suck in an exported appletsrc snippet;
> > > > perhaps both.
> > > 
> > > Which... is probably about what Alex had in mind :)
> > 
> > it would achieve what he wants, yes.
> 
> what about an action in empty panel containments as "load default junk"?
> so first create empty, then load defaults, if you want

this is very shell specific; so it doesn't belong in libplasma. which means it 
would end up in individual containments at worst, and a containment action 
plugin at best. (the latter is most likely, i think.) it would require the 
same amount of code of the other solution and would turn it into a 2-step 
process where the solution i suggested is a one step solution.

i mentioned on irc earlier today that this same approach could be used to ship 
"pre-configured widget sets" that could be used to add complex arrangements of 
widgets. but that's also a different topic, sort of :)

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


More information about the Plasma-devel mailing list