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:

committed by
Sven Neumann

parent
4ce9631b46
commit
28237630eb
@ -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>
|
2008-12-28 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
Bug 565362 – the previously opened file is not suggested if gimp
|
Bug 565362 – the previously opened file is not suggested if gimp
|
||||||
|
@ -500,6 +500,8 @@ run (const gchar *name,
|
|||||||
gimp_image_delete (image_ID);
|
gimp_image_delete (image_ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (status == GIMP_PDB_SUCCESS)
|
||||||
|
{
|
||||||
/* pw - now we need to change the defaults to be whatever
|
/* pw - now we need to change the defaults to be whatever
|
||||||
* was used to save this image. Dump the old parasites
|
* was used to save this image. Dump the old parasites
|
||||||
* and add new ones. */
|
* and add new ones. */
|
||||||
@ -521,6 +523,7 @@ run (const gchar *name,
|
|||||||
gimp_image_parasite_attach (orig_image_ID, parasite);
|
gimp_image_parasite_attach (orig_image_ID, parasite);
|
||||||
gimp_parasite_free (parasite);
|
gimp_parasite_free (parasite);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
status = GIMP_PDB_CALLING_ERROR;
|
status = GIMP_PDB_CALLING_ERROR;
|
||||||
|
Reference in New Issue
Block a user