From 99ccfa281127690630ac412919c6aa6b429ee15b Mon Sep 17 00:00:00 2001 From: joncruz Date: Sun, 7 Oct 2007 21:14:37 +0000 Subject: [PATCH] Use neutral out of gamut warning color --- src/color-profile.cpp | 4 ++-- src/preferences-skeleton.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/color-profile.cpp b/src/color-profile.cpp index 614fdfd6d..9fc1f990e 100644 --- a/src/color-profile.cpp +++ b/src/color-profile.cpp @@ -549,7 +549,7 @@ int errorHandlerCB(int ErrorCode, const char *ErrorText) } static bool gamutWarn = false; -static Gdk::Color lastGamutColor("#00ff00"); +static Gdk::Color lastGamutColor("#808080"); static bool lastBPC = false; #if defined(cmsFLAGS_PRESERVEBLACK) static bool lastPreserveBlack = false; @@ -692,7 +692,7 @@ cmsHTRANSFORM Inkscape::colorprofile_get_display_transform() bool preserveBlack = prefs_get_int_attribute_limited( "options.softproof", "preserveblack", 0, 0, 1 ); #endif //defined(cmsFLAGS_PRESERVEBLACK) gchar const* colorStr = prefs_get_string_attribute("options.softproof", "gamutcolor"); - Gdk::Color gamutColor( (colorStr && colorStr[0]) ? colorStr : "#00ff00"); + Gdk::Color gamutColor( (colorStr && colorStr[0]) ? colorStr : "#808080"); if ( (warn != gamutWarn) || (lastIntent != intent) diff --git a/src/preferences-skeleton.h b/src/preferences-skeleton.h index ab40f4c00..4c7616495 100644 --- a/src/preferences-skeleton.h +++ b/src/preferences-skeleton.h @@ -190,7 +190,7 @@ static char const preferences_skeleton[] = " id=\"softproof\"\n" " enable=\"0\"\n" " intent=\"0\"\n" -" gamutcolor=\"#00FF00\"\n" +" gamutcolor=\"#808080\"\n" " gamutwarn=\"0\"\n" " bpc=\"0\"\n" " preserveblack=\"0\"\n" -- 2.30.2