[gimp] app: enable color management when a profile is assigned to the image
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: enable color management when a profile is assigned to the image
- Date: Sun, 8 May 2016 18:57:27 +0000 (UTC)
commit 3244637dc41bfa2df3938b66065ddb6295426e0c
Author: Michael Natterer <mitch gimp org>
Date: Sun May 8 20:56:54 2016 +0200
app: enable color management when a profile is assigned to the image
app/dialogs/color-profile-dialog.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/app/dialogs/color-profile-dialog.c b/app/dialogs/color-profile-dialog.c
index cb9150f..84d2ec8 100644
--- a/app/dialogs/color-profile-dialog.c
+++ b/app/dialogs/color-profile-dialog.c
@@ -462,10 +462,14 @@ color_profile_dialog_response (GtkWidget *widget,
dest_profile,
&error);
- /* omg... */
if (success)
- gimp_image_parasite_detach (dialog->image,
- "icc-profile-name");
+ {
+ gimp_image_set_is_color_managed (dialog->image, TRUE, TRUE);
+
+ /* omg... */
+ gimp_image_parasite_detach (dialog->image,
+ "icc-profile-name");
+ }
gimp_image_undo_group_end (dialog->image);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]