[KPhotoAlbum] fix: special category's attributes not saved

Jesper K. Pedersen blackie at blackie.dk
Mon Nov 27 08:25:50 GMT 2006


OK, it is in. In addition I've changed the default to be that we do not show 
the media type in the viewer.

Thanks.
Jesper.

PS: You should be really carefull with those patches, you've mangaged somehow 
to break all lines in this patch, and the patch util didn't really like that.
On Sunday 12 November 2006 01:05, Christoph Moseler wrote:
| Hi Jesper,
|
| the attributes "icon", "show", "viewtype" and "thumbnailsize" are not
| saved for the categories "folder" and "media type".
|
| Steps to reproduce that the show-attribute is not saved:
| - open an image in the Viewer
| - open the context menu -> show -> deselect "Show Media Type"
| - Quit kpa and save your db
| - reopen kpa
| - open an image in the Viewer
| - open the context menu -> show
| The show-state of the Media Type has not been saved, it's selected again.
|
| The problem is that categories with the shouldSave-flag set to false are
| not be written to the index.xml at all.
|
| With my patch, categories that should not be saved are written now to
| the index.xml, but without their value-tags.
|
| Best regards,
| Christoph

-- 
Having trouble finding a given image in your collection containing
thousands of images?

http://www.kphotoalbum.org might be the answer.



More information about the Kphotoalbum mailing list