[Panel-devel] Plasmoid categories

Aaron J. Seigo aseigo at kde.org
Thu Jul 12 15:09:19 CEST 2007


On Wednesday 11 July 2007, Alex Merry wrote:
> Here's what I've got.  I didn't use a registry, because there is no
> obvious time to add an applet's category to the registry (we want the
> category before we load the applet). 

what i meant by a registry is somewhere they are documented, so that plasmoid 
writers can reference the existing set of categories and not make up their 
own randomly. for now a list on techbase in Projects/Plasma will do.

> There's nothing to catch plasmoid writers who misspell a category (or
> make one up out of thin air), apart from how it will display in the
> presumed eventual plasmoid list.

yes, and that's fine.

> Wonder if KCategorizedView would be suitable?

possibly... worth trying out in any case.

feel free to commit; i would change the apidox for knownCategories to 
say "used by installed applets" rather than "used by loaded applets"

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070712/a77fad97/attachment.pgp 


More information about the Panel-devel mailing list