Commit Graph

4 Commits

Author SHA1 Message Date
Sven Neumann 4473915408 don't write empty groups.
2004-09-28  Sven Neumann  <sven@gimp.org>

	* app/file/gimprecentlist.c (gimp_recent_list_write): don't write
	empty groups.

	* app/file/gimprecentlist.c: disabled the code for the win32
	platform. It doesn't make much sense there anyway. If someone
	wants to contribute a win32 specific implementation, we'd welcome
	that. A Mac OS X implementation would be nice to have as well.
2004-09-28 21:17:57 +00:00
Sven Neumann 4c450f2357 seek to the start of the file before calling lockf().
2004-09-28  Sven Neumann  <sven@gimp.org>

	* app/file/gimprecentlist.c: seek to the start of the file before
	calling lockf().
2004-09-28 18:57:58 +00:00
Sven Neumann 5ad16c6fcc handle EINTR while writing.
2004-09-28  Sven Neumann  <sven@gimp.org>

	* app/file/gimprecentlist.c (gimp_recent_list_write_raw): handle
	EINTR while writing.
2004-09-28 12:50:43 +00:00
Sven Neumann 734464155f added new convenience function gimp_xml_parser_parse_fd().
2004-09-28  Sven Neumann  <sven@gimp.org>

	* app/config/gimpxmlparser.[ch]: added new convenience function
	gimp_xml_parser_parse_fd().

	* app/file/Makefile.am
	* app/file/gimprecentitem.[ch]
	* app/file/gimprecentlist.[ch]: added an implementation of the
	recent-files spec as found on freedesktop.org. This code is taken
	from libegg and has been edited to fit the GIMP needs.

	* app/file/file-open.c
	* app/file/file-save.c: update the ~/.recently-used file. Fixes
	bug #131206.
2004-09-28 12:40:34 +00:00