[gsettings-desktop-schemas] schemas: Use value between 0 and 1 for opacity



commit 6e409111044577d34f1f73f1694af60100abc617
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Feb 12 15:31:12 2011 +0000

    schemas: Use value between 0 and 1 for opacity
    
    Changes the type to double, and the range between 0 and 1.

 ....gnome.desktop.a11y.magnifier.gschema.xml.in.in |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/schemas/org.gnome.desktop.a11y.magnifier.gschema.xml.in.in b/schemas/org.gnome.desktop.a11y.magnifier.gschema.xml.in.in
index 54c8b1f..f94904a 100644
--- a/schemas/org.gnome.desktop.a11y.magnifier.gschema.xml.in.in
+++ b/schemas/org.gnome.desktop.a11y.magnifier.gschema.xml.in.in
@@ -88,8 +88,9 @@
         the crosshairs.
       </_description>
     </key>
-    <key name="cross-hairs-opacity" type="i">
-      <default>169</default>
+    <key name="cross-hairs-opacity" type="d">
+      <default>0.66</default>
+      <range min="0.0" max="1.0"/>
       <_summary>Opacity of the crosshairs</_summary>
       <_description>
         Determines the transparency of the crosshairs, from fully opaque



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