How to use xfconf to store data like bookmarks
nickschermer at gmail.com
Mon Dec 15 17:50:40 CET 2008
2008/12/15 Stephan Arts <stephan at xfce.org>:
> On Mon, Dec 15, 2008 at 3:58 PM, Mike Massonnet <mmassonnet at gmail.com> wrote:
>> Hey Christian,
>> It is an interesting reading. The GLib bookmark file parser is indeed
>> unsuitable, and exposing bookmarks to dbus with xfconf is useless.
> I suppose you guys don't really like the idea of building a clean
> implementation and importing it in libxfce4util?
There is an xml parser in glib (GMarkupParser) which works fine and is
already used in the xfconf-xml-backend, panel, menueditor, thunar and
libxfce4menu. It allows easy custom implementations (you don't need
libxml if you store 'simple' data like bookmarks) and is fast enough
for most people.
More information about the Xfce4-dev