mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 19:43:01 +00:00
set the image clean after handling the color profile.
2007-09-21 Sven Neumann <sven@gimp.org> * app/file/file-open.c (file_open_image): set the image clean after handling the color profile. svn path=/trunk/; revision=23601
This commit is contained in:
parent
7bae73f9a2
commit
accb626859
|
@ -1,3 +1,8 @@
|
|||
2007-09-21 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/file/file-open.c (file_open_image): set the image clean
|
||||
after handling the color profile.
|
||||
|
||||
2007-09-20 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/gimpimage.[ch]: added a load_proc member to GimpImage
|
||||
|
|
|
@ -194,9 +194,7 @@ file_open_image (Gimp *gimp,
|
|||
|
||||
if (image)
|
||||
{
|
||||
gimp_image_undo_disable (image);
|
||||
file_open_handle_color_profile (image, context, progress, run_mode);
|
||||
gimp_image_undo_enable (image);
|
||||
}
|
||||
|
||||
return image;
|
||||
|
@ -624,6 +622,8 @@ file_open_handle_color_profile (GimpImage *image,
|
|||
{
|
||||
if (gimp_image_parasite_find (image, "icc-profile"))
|
||||
{
|
||||
gimp_image_undo_disable (image);
|
||||
|
||||
switch (image->gimp->config->color_profile_policy)
|
||||
{
|
||||
case GIMP_COLOR_PROFILE_POLICY_ASK:
|
||||
|
@ -640,5 +640,8 @@ file_open_handle_color_profile (GimpImage *image,
|
|||
GIMP_RUN_NONINTERACTIVE);
|
||||
break;
|
||||
}
|
||||
|
||||
gimp_image_clean_all (image);
|
||||
gimp_image_undo_enable (image);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue