diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2007-10-07 21:14:37 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2007-10-07 21:14:37 +0000 |
| commit | 73a0af5d98edb380dceecc1a7ee1b3724f46180d (patch) | |
| tree | 022aa138b2b0e85793ed388016d357af74353f52 /src | |
| parent | remove unused svg key screens, now html is used (diff) | |
| download | inkscape-73a0af5d98edb380dceecc1a7ee1b3724f46180d.tar.gz inkscape-73a0af5d98edb380dceecc1a7ee1b3724f46180d.zip | |
Use neutral out of gamut warning color
(bzr r3857)
Diffstat (limited to 'src')
| -rw-r--r-- | src/color-profile.cpp | 4 | ||||
| -rw-r--r-- | 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" |
