summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/inkscape-preferences.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2007-11-24 09:41:35 +0000
committerjoncruz <joncruz@users.sourceforge.net>2007-11-24 09:41:35 +0000
commit4961639bc65554eada8fc06b70ce276054e871e4 (patch)
treec76f429ee7cb4a3545bac9095f15acdac617ba6d /src/ui/dialog/inkscape-preferences.cpp
parentLPEbendpath fix: save widthfactor parameter ofcourse doh! (diff)
downloadinkscape-4961639bc65554eada8fc06b70ce276054e871e4.tar.gz
inkscape-4961639bc65554eada8fc06b70ce276054e871e4.zip
Implemented per-monitor display adjustment via XICC
(bzr r4132)
Diffstat (limited to 'src/ui/dialog/inkscape-preferences.cpp')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index df2952f20..b950ed03b 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -673,11 +673,20 @@ void InkscapePreferences::initPageCMS()
_page_cms.add_line( false, "", *lbl, "", "", true);
#endif // !ENABLE_LCMS
- _page_cms.add_group_header( _("Display Calibration"));
+ _page_cms.add_group_header( _("Display Adjustment"));
_page_cms.add_line( false, _("Display profile:"), _cms_display_profile, "",
_("The ICC profile to use to calibrate display output."), false);
+ _cms_from_display.init( _("Retrieve profile from display"), "options.displayprofile", "from_display", false);
+ _page_cms.add_line( false, "", _cms_from_display, "",
+#ifdef GDK_WINDOWING_X11
+ _("Retrieve profiles from those attached to displays via XICC."), false);
+#else
+ _("Retrieve profiles from those attached to displays."), false);
+#endif // GDK_WINDOWING_X11
+
+
_cms_intent.init("options.displayprofile", "intent", intentLabels, intentValues, numIntents, 0);
_page_cms.add_line( false, _("Display intent:"), _cms_intent, "",
_("The rendering intent to use to calibrate display output."), false);
@@ -765,6 +774,7 @@ void InkscapePreferences::initPageCMS()
// disable it, but leave it visible
_cms_intent.set_sensitive( false );
_cms_display_profile.set_sensitive( false );
+ _cms_from_display.set_sensitive( false );
_cms_softproof.set_sensitive( false );
_cms_gamutwarn.set_sensitive( false );
_cms_gamutcolor.set_sensitive( false );