gimp r21743 - in trunk: . app/actions app/dialogs app/widgets



Author: mitch
Date: 2007-01-20 19:38:09 +0000 (Sat, 20 Jan 2007)
New Revision: 21743
ViewCVS link: http://svn.gnome.org/viewcvs/gimp?rev=21743&view=rev

Modified:
   trunk/ChangeLog
   trunk/app/actions/actions-types.h
   trunk/app/actions/file-actions.c
   trunk/app/actions/file-commands.c
   trunk/app/actions/file-commands.h
   trunk/app/dialogs/file-save-dialog.c
   trunk/app/widgets/gimpfiledialog.c
   trunk/app/widgets/gimpfiledialog.h
Log:
2007-01-20  Michael Natterer  <mitch gimp org>

	Close the display after "Save as" when invoked via the "Close
	Without Saving" dialog. Fixes bug #383700.

	* app/actions/actions-types.h: added enum GimpSaveMode { SAVE,
	SAVE_AS, SAVE_A_COPY, SAVE_AND_CLOSE }.

	* app/actions/file-actions.c: changed the 4 save actions into
	GimpEnumActions with above enum as values.

	* app/actions/file-commands.[ch]: merged the save callbacks into
	one and pass a "close_after_saving" boolean to
	file_save_dialog_show().

	* app/widgets/gimpfiledialog.[ch]: added "gboolean
	close_after_saving" parameter to gimp_file_dialog_set_image() and
	to the GimpFileDialog struct.

	* app/dialogs/file-save-dialog.c: if the file was saved
	successfully and close_after_saving is TRUE, close the display if
	the image has not become dirty again in the meantime.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]