Bug 563985 – jpg save dialog: "cancel" is treated like "commit" for

2008-12-28  Sven Neumann  <sven@gimp.org>

	Bug 563985 – jpg save dialog: "cancel" is treated like "commit"
	for settings

	* plug-ins/file-jpeg/jpeg.c (run): only attach the comment and
	settings to the image if the save was successful.


svn path=/trunk/; revision=27843
This commit is contained in:
Sven Neumann
2008-12-28 02:10:32 +00:00
committed by Sven Neumann
parent 4ce9631b46
commit 28237630eb
2 changed files with 28 additions and 17 deletions

View File

@ -1,3 +1,11 @@
2008-12-28 Sven Neumann <sven@gimp.org>
Bug 563985 jpg save dialog: "cancel" is treated like "commit"
for settings
* plug-ins/file-jpeg/jpeg.c (run): only attach the comment and
settings to the image if the save was successful.
2008-12-28 Sven Neumann <sven@gimp.org>
Bug 565362 the previously opened file is not suggested if gimp

View File

@ -500,6 +500,8 @@ run (const gchar *name,
gimp_image_delete (image_ID);
}
if (status == GIMP_PDB_SUCCESS)
{
/* pw - now we need to change the defaults to be whatever
* was used to save this image. Dump the old parasites
* and add new ones. */
@ -521,6 +523,7 @@ run (const gchar *name,
gimp_image_parasite_attach (orig_image_ID, parasite);
gimp_parasite_free (parasite);
}
}
else
{
status = GIMP_PDB_CALLING_ERROR;