[PATCH] KFilePlacesModel : separate storage for custom items and standard items

nf2 nf2 at scheinwelt.at
Sun Mar 9 00:46:04 GMT 2008


Hi,

Here is an experimental patch for KFilePlacesModel, which separates the 
storage for the custom items and the standard ("root") items.

The custom items go to ~/.local/share/filemgr-shortcuts.xbel, that they 
can be shared with other desktops, and the root items are stored in 
~/.kde4/share/apps/kfileplaces/rootbookmarks.xml.

This patch depends on my previous KBookmarks patch (to enable KDirWatch 
monitoring for external bookmarks).

I still have a little problem that <IsHidden> is not always written to 
the files correctly, but i can't figure out where the bug is.

Cheers,
Norbert





-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfileplaces.patch
Type: text/x-patch
Size: 9589 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080309/171f5b99/attachment.bin>


More information about the kde-core-devel mailing list