CVSROOT:        /cvs/gnome
Module name:    libegg
Changes by:     ebassi  06/03/09 20:41:46

Modified files:
        .              : ChangeLog 
        libegg/bookmarkfile: eggbookmarkfile.c test-one.xbel 
                             test-file.xbel testbookmarkfile.c 

Log message:
2006-03-09  Emmanuele Bassi  <[EMAIL PROTECTED]>

Support root-level "title" and "desc" elements, as per XBEL 1.0
specification; now, each bookmark file can have its own global title
and description.

* libegg/bookmarkfile/eggbookmarkfile.c:
(egg_bookmark_file_init), (egg_bookmark_file_clear): add global title
and description members to the EggBookmarkFile object
(start_element_raw_cb), (end_element_raw_cb), (text_raw_cb): add
support for global title and desc elements when parsing
(egg_bookmark_file_dump): dump global title and desc elements
(egg_bookmark_file_set_title), (egg_bookmark_file_get_title),
(egg_bookmark_file_set_description),
(egg_bookmark_file_get_description): if the passed URI is NULL, set/get
the global title and description.

* libegg/bookmarkfile/test-one.xbel:
* libegg/bookmarkfile/test-file.xbel: add global title and description
to the test files.

* libegg/bookmarkfile/testbookmarkfile.c (main): print the global title
and description, if found.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=libegg&who=ebassi&date=explicit&mindate=2006-03-09%2020:40&maxdate=2006-03-09%2020:42

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to