[gnome-color-manager] Remove all the rendering intent and default spaces from the GSettings schema



commit 196169369cdd67dc4afb1fc345f6e588c3bba76a
Author: Richard Hughes <richard hughsie com>
Date:   Tue May 10 14:58:42 2011 -0400

    Remove all the rendering intent and default spaces from the GSettings schema

 data/org.gnome.color-manager.gschema.migrate |    4 ---
 data/org.gnome.color-manager.gschema.xml     |   31 --------------------------
 src/gcm-utils.h                              |    5 ----
 3 files changed, 0 insertions(+), 40 deletions(-)
---
diff --git a/data/org.gnome.color-manager.gschema.migrate b/data/org.gnome.color-manager.gschema.migrate
index 7ea5232..a1d3b1b 100644
--- a/data/org.gnome.color-manager.gschema.migrate
+++ b/data/org.gnome.color-manager.gschema.migrate
@@ -1,10 +1,6 @@
 [org.gnome.color-manager]
 global-display-correction = /apps/gnome-color-manager/global_display_correction
 set-icc-profile-atom = /apps/gnome-color-manager/set_icc_profile_atom
-rendering-intent-display = /apps/gnome-color-manager/rendering_intent_display
-rendering-intent-softproof = /apps/gnome-color-manager/rendering_intent_softproof
-colorspace-rgb = /apps/gnome-color-manager/colorspace_rgb
-colorspace-cmyk = /apps/gnome-color-manager/colorspace_cmyk
 use-profiles-from-volumes = /apps/gnome-color-manager/use_profiles_from_volumes
 calibration-length = /apps/gnome-color-manager/calibration_length
 recalibrate-printer-threshold = /apps/gnome-color-manager/recalibrate_printer_threshold
diff --git a/data/org.gnome.color-manager.gschema.xml b/data/org.gnome.color-manager.gschema.xml
index 25c97d0..807c0ec 100644
--- a/data/org.gnome.color-manager.gschema.xml
+++ b/data/org.gnome.color-manager.gschema.xml
@@ -1,10 +1,4 @@
 <schemalist>
-  <enum id="org.gnome.color-manager.RenderingType">
-    <value nick="perceptual" value="1"/>
-    <value nick="relative-colorimetric" value="2"/>
-    <value nick="saturation" value="3"/>
-    <value nick="absolute-colorimetric" value="4"/>
-  </enum>
   <enum id="org.gnome.color-manager.CalibrationLength">
     <value nick="short" value="0"/>
     <value nick="normal" value="1"/>
@@ -27,31 +21,6 @@
       <summary>Set the _ICC_PROFILE hint for applications</summary>
       <description>If set to TRUE then the __ICC_PROFILE hint will be set, which applications use to convert true color to screen color.</description>
     </key>
-    <key name="rendering-intent-display" enum="org.gnome.color-manager.RenderingType">
-      <default>'perceptual'</default>
-      <summary>The rendering intent to use for the display, e.g. 'perceptual'</summary>
-      <description>The rendering intent to use for the display, e.g. 'perceptual'.</description>
-    </key>
-    <key name="rendering-intent-softproof" enum="org.gnome.color-manager.RenderingType">
-      <default>'perceptual'</default>
-      <summary>The rendering intent to use for softproofs, e.g. 'perceptual'</summary>
-      <description>The rendering intent to use for softproofs, e.g. 'perceptual'.</description>
-    </key>
-    <key name="colorspace-rgb" type="s">
-      <default>'/usr/share/color/icc/Argyll/sRGB.icm'</default>
-      <summary>The default RGB profile</summary>
-      <description>The RGB profile filename to be used by applications by default.</description>
-    </key>
-    <key name="colorspace-cmyk" type="s">
-      <default>'/usr/share/color/icc/Fogra27L.icc'</default>
-      <summary>The default CMYK profile</summary>
-      <description>The CMYK profile filename to be used by applications by default.</description>
-    </key>
-    <key name="colorspace-gray" type="s">
-      <default>'/usr/share/color/icc/Oyranos/Gray.icc'</default>
-      <summary>The default gray profile</summary>
-      <description>The gray profile filename to be used by applications by default.</description>
-    </key>
     <key name="calibration-length" enum="org.gnome.color-manager.CalibrationLength">
       <default>'ask'</default>
       <summary>The default calibration length</summary>
diff --git a/src/gcm-utils.h b/src/gcm-utils.h
index 741935a..91e7a1e 100644
--- a/src/gcm-utils.h
+++ b/src/gcm-utils.h
@@ -35,11 +35,6 @@
 #define GCM_SETTINGS_SCHEMA				"org.gnome.color-manager"
 #define GCM_SETTINGS_GLOBAL_DISPLAY_CORRECTION		"global-display-correction"
 #define GCM_SETTINGS_SET_ICC_PROFILE_ATOM		"set-icc-profile-atom"
-#define GCM_SETTINGS_RENDERING_INTENT_DISPLAY		"rendering-intent-display"
-#define GCM_SETTINGS_RENDERING_INTENT_SOFTPROOF		"rendering-intent-softproof"
-#define GCM_SETTINGS_COLORSPACE_RGB			"colorspace-rgb"
-#define GCM_SETTINGS_COLORSPACE_CMYK			"colorspace-cmyk"
-#define GCM_SETTINGS_COLORSPACE_GRAY			"colorspace-gray"
 #define GCM_SETTINGS_CALIBRATION_LENGTH			"calibration-length"
 #define GCM_SETTINGS_SHOW_NOTIFICATIONS			"show-notifications"
 #define GCM_SETTINGS_RECALIBRATE_PRINTER_THRESHOLD	"recalibrate-printer-threshold"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]