From 73a0af5d98edb380dceecc1a7ee1b3724f46180d Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Sun, 7 Oct 2007 21:14:37 +0000 Subject: Use neutral out of gamut warning color (bzr r3857) --- src/color-profile.cpp | 4 ++-- src/preferences-skeleton.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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" -- cgit v1.2.3