gimp/app/file
Sven Neumann 3344c1b3bc Do not any longer keep the document history in two places. We only use
2008-03-24  Sven Neumann  <sven@gimp.org>

	Do not any longer keep the document history in two places. We 
only
	use GtkRecentManager now:

	* app/core/Makefile.am
	* app/core/gimp-documents.[ch]: removed these files.

	* app/core/gimpdocumentlist.c: removed code to load and save the
	"documents" file.
	(gimp_document_list_add_uri): call gimp_recent_list_add_uri() 
here.

	* app/core/gimpimagefile.[ch]: added function to set the 
mime-type.

	* app/core/gimp.c (gimp_restore): removed code to load the
	document history.
	(gimp_real_exit): removed code to save it.
	
	* app/core/gimp-gui.[ch]: extended the vtable with a method to
	populate the document list.

	* app/gui/gui-vtable.c: added code to populate the document 
history
	from the list of recently used files kept by GtkRecentManager.

	* app/gui/gui.c (gui_restore_callback): load the recent files 
here.

	* app/file/file-open.c
	* app/file/file-save.c: no need to call 
gimp_recent_list_add_uri()
	any longer as gimp_document_list_add_uri() does that for us now.

	* app/actions/documents-commands.c 
(documents_clear_cmd_callback):
	purge the items from GtkRecentManager. Also changed the dialog 
to
	emphasize that this operation now affects the document history 
in
	all applications.

	* docs/gimp.1.in: removed reference to "documents" file.


svn path=/trunk/; revision=25190
2008-03-24 11:11:15 +00:00
..
file-open.c Do not any longer keep the document history in two places. We only use 2008-03-24 11:11:15 +00:00
file-open.h use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
file-procedure.c app/file/Makefile.am app/file/file-procedure.[ch] split functions dealing 2007-05-11 18:50:35 +00:00
file-procedure.h app/file/Makefile.am app/file/file-procedure.[ch] split functions dealing 2007-05-11 18:50:35 +00:00
file-save.c Do not any longer keep the document history in two places. We only use 2008-03-24 11:11:15 +00:00
file-save.h app/file/file-save.[ch] (file_save) app/dialogs/file-save-dialog.c 2007-09-13 14:48:32 +00:00
file-utils.c fix check on the GError returned by file_utils_filename_is_uri(). 2007-05-14 21:17:10 +00:00
file-utils.h new function, fixed and factored out of file_utils_filename_to_uri(). 2007-05-13 23:15:34 +00:00
Makefile.am drop own recently used files code in favour of GtkRecentManager: 2007-09-13 14:19:30 +00:00
makefile.msc updated and removed -GD to let msvc9 complain less 2007-12-09 14:11:09 +00:00