How to use xfconf to store data like bookmarks

Christian Dywan christian at twotoasts.de
Sat Dec 13 16:05:35 CET 2008


Am Fri, 12 Dec 2008 12:35:42 +0100
schrieb Mike Massonnet <mmassonnet at gmail.com>:

> Le Fri, 12 Dec 2008 00:56:20 -0600,
> "Diego Ongaro" <ongardie at gmail.com> a écrit :
> 
> > On Thu, Dec 11, 2008 at 17:58, Mike Massonnet <mmassonnet at gmail.com>
> > wrote:
> > > Yep, I still need to figure out, but it should be fine (better)
> > > with an XML file.  Actually, I should start bookmarks.c and
> > > separate the code…
> > 
> > http://library.gnome.org/devel/glib/unstable/glib-Bookmark-file-parser.html
> > I'm not sure if you've seen this; it may or may not be appropriate.
> > 
> 
> Nope thank you!

Hey,

note that the Glib *desktop* bookmark file parser is specialized for
a certain use case. When I needed bookmarks in Midori I ended up
inventing my own classes and load/ save functions. So in case you
similarly find the Glib code unsuitable for your purposes, feel free to
have a look at the midori/main.c in Midori.

Yours,
    Christian



More information about the Xfce4-dev mailing list