On Wed, 2006-07-12 at 17:17 +0200, Xavier Claessens wrote: > Hi, > > I'm interested by porting the nautilus_bookmark_* API to the new > g_bookmark_file API from GLib 2.12. But I have some questions: > > - Is it ok if nautilus 2.15 depends on glib 2.12 or should it wait for > nautilus 2.17 ? > > - Where should the bookmark file be saved ? Maybe we should discuss this > with Gtk guys because it should be user by GtkFileChooser too. Now the > file is ~/.gtk-bookmark
In order to avoid breakage, and to follow the spec[1], the bookmarks file should have the .xbel extension; the spec itself proposes to use the $HOME/.shortcuts.xbel file for storing the file selectors shortcuts. There should also be a folder for storing user-defined bookmark files: $XDG_DATA_DIRS/desktop-bookmarks (which should expand to something like: $HOME/.local/share/desktop-bookmarks); each file inside that folder should be parsed to build the list of bookmarks. > - Is it ok to make the change now or should we wait for GtkFileChooser > before to copy how they do ? I'll probably be the one working on the FileChooser integration of bookmarks and recent files, so a parallel effort might be better. ;-) Ciao, Emmanuele. -- Emmanuele Bassi, E: [EMAIL PROTECTED] W: http://www.emmanuelebassi.net B: http://log.emmanuelebassi.net -- nautilus-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/nautilus-list
