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

nf2 nf2 at scheinwelt.at
Mon Mar 10 19:22:44 GMT 2008


nf2 wrote:
> 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.
>
>

Here is an updated patch (because of the recent changes in 
kfileplacesmodel.cpp).

Norbert






-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfileplaces2.patch
Type: text/x-patch
Size: 9585 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080310/e3924c9c/attachment.bin>


More information about the kde-core-devel mailing list