[Panel-devel] [PATCH] Package refactoring

Paolo Capriotti p.capriotti at gmail.com
Sat Dec 1 22:20:32 CET 2007


Hi,
this is a refactoring of the Package classes, as previously discussed 
with Aaron. A list of changes:
- Icon, preview and screenshots are gone from the metadata. The icon 
field can still be written in the desktop file by 
PackageMetadata::write. Packages don't have associated icon, previews 
and screenshots anymore, but they can handle them just like any other 
file, by setting appropriate entries in their PackageStructure.
- Everything except metadata.desktop is now in a contents/ directory.
- Package::createPackage and Package::installPackage have been cleaned 
up, and a test has been added for them.
- Package metadata can now be accessed easily using the 
Package::metadata method.

Comments?

Paolo Capriotti
-------------- next part --------------
A non-text attachment was scrubbed...
Name: package.patch
Type: text/x-diff
Size: 23072 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20071201/b3023431/attachment-0001.bin 


More information about the Panel-devel mailing list