From: joncruz Date: Thu, 4 Oct 2007 06:44:35 +0000 (+0000) Subject: tune-up for lcms disabled X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fd8afce9eade36a0962d9e1bc522f4b10e554af3;p=inkscape.git tune-up for lcms disabled --- diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index a747e0045..9a3125381 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -664,6 +664,11 @@ void InkscapePreferences::initPageCMS() Glib::ustring intentLabels[numIntents] = {_("Perceptual"), _("Relative Colorimetric"), _("Saturation"), _("Absolute Colorimetric")}; int intentValues[numIntents] = {0, 1, 2, 3}; +#if !ENABLE_LCMS + Gtk::Label* lbl = new Gtk::Label(_("(Note: Color Management has been disabled in this build)")); + _page_cms.add_line( false, "", *lbl, "", "", true); +#endif // !ENABLE_LCMS + _page_cms.add_group_header( _("Disply Calibration")); _cms_display.init( _("Enable display calibration"), "options.displayprofile", "enable", false); @@ -759,7 +764,7 @@ void InkscapePreferences::initPageCMS() _cms_proof_intent.set_sensitive( false ); _cms_proof_profile.set_sensitive( false ); _cms_proof_blackpoint.set_sensitive( false ); - _cms_proof_preserveblack_sensitive( false ); + _cms_proof_preserveblack.set_sensitive( false ); #endif // ENABLE_LCMS this->AddPage(_page_cms, _("Color Management"), PREFS_PAGE_CMS);