How to use xfconf to store data like bookmarks

Mike Massonnet mmassonnet at gmail.com
Fri Dec 12 00:58:00 CET 2008


Hi Brian,

Le Thu, 11 Dec 2008 14:46:37 -0800,
"Brian J. Tarricone" <bjt23 at cornell.edu> a écrit :

> I wouldn't use xfconf for something like this.  If you really wanted
> to, then yes, I guess you could do bookmark0, bookmark1, and have an 
> n-bookmarks property to record the number of bookmarks.  Or you could 
> store all the data in string lists, but that's kinda weird.
> 
> I'd just either roll your own XML file, or use an XfceRc file.

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…

Mike



More information about the Xfce4-dev mailing list