[PATCH] KBookmarks / fd.o desktop-bookmark-spec

nf2 nf2 at scheinwelt.at
Sun Mar 16 16:19:16 GMT 2008


nf2 wrote:
> The purpose of this would be sharing file-management shortcuts 
> (KFilePlacesModel) with other desktops. See:
>
> http://freedesktop.org/wiki/Specifications/desktop-bookmark-spec
>
>
> What it does:
>
> KBookmark:
>
> * stores the icon-name in metadata (owner="http://freedesktop.org") 
> instead of as an attribute of the bookmark tag. This seems more 
> conforming to XBEL. +)
> * migration code for bookmark files where the icon is stored in the 
> old place.
> * store and retrieve the mime-type of bookmark items (according to the 
> desktop-bookmark-spec): new methods KBookmark::setMimeType() and 
> KBookmark::mimeType())
> * use mime-type to pick the right icon (if no icon is specified).
> * new public method to access metadata by owner: KBookmark::metaData()
> * add xmlns: declarations when creating a new bookmarks document
>
> +) The spec doesn't mention named icons in the metadata at the moment. 
> I believe this should be added to the spec.
>
>
> KBookmarkManager:
>
> * Introduces a new KBookmarkManager type: "external". In this mode 
> KBookmarkManager uses KDirWatch for change monitoring (rather than DBus).
>
>
> Regards,
> Norbert
>

Here is an updated patch for review (i by mistake also put a KDirWatch 
on DBus manged files).

Regards,
Norbert






-------------- next part --------------
A non-text attachment was scrubbed...
Name: kbookmark_shared_bookmarks_spec2.patch
Type: text/x-patch
Size: 20284 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080316/7763909f/attachment.bin>


More information about the kde-core-devel mailing list