[gnome-panel/wip/packed-objects: 4/17] schemas: Add some ranges where it makes sense



commit ea08f1b0dcdd77c209150871ad2e957b06c3531e
Author: Vincent Untz <vuntz gnome org>
Date:   Wed Mar 30 19:31:42 2011 +0530

    schemas: Add some ranges where it makes sense

 ...nel.applet.workspace-switcher.gschema.xml.in.in |    2 +-
 ...rg.gnome.gnome-panel.toplevel.gschema.xml.in.in |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/data/org.gnome.gnome-panel.applet.workspace-switcher.gschema.xml.in.in b/data/org.gnome.gnome-panel.applet.workspace-switcher.gschema.xml.in.in
index 8d87c0a..34e1074 100644
--- a/data/org.gnome.gnome-panel.applet.workspace-switcher.gschema.xml.in.in
+++ b/data/org.gnome.gnome-panel.applet.workspace-switcher.gschema.xml.in.in
@@ -12,9 +12,9 @@
     </key>
     <key name="num-rows" type="i">
       <default>1</default>
+      <range min='1' max='16'/>
       <_summary>Rows in workspace switcher</_summary>
       <_description>This key specifies how many rows (for horizontal layout) or columns (for vertical layout) the workspace switcher shows the workspaces in. This key is only relevant if the display_all_workspaces key is true.</_description>
-      <range min='1' max='16'/>
     </key>
   </schema>
 </schemalist>
diff --git a/data/org.gnome.gnome-panel.toplevel.gschema.xml.in.in b/data/org.gnome.gnome-panel.toplevel.gschema.xml.in.in
index cb47f3f..d99f2fa 100644
--- a/data/org.gnome.gnome-panel.toplevel.gschema.xml.in.in
+++ b/data/org.gnome.gnome-panel.toplevel.gschema.xml.in.in
@@ -77,16 +77,19 @@
     </key>
     <key name="hide-delay" type="i">
       <default>300</default>
+      <range min='0' max='10000'/>
       <_summary>Panel autohide delay</_summary>
       <_description>Specifies the number of milliseconds delay after the pointer leaves the panel area before the panel is automatically hidden. This key is only relevant if the auto_hide key is true.</_description>
     </key>
     <key name="unhide-delay" type="i">
       <default>100</default>
+      <range min='0' max='10000'/>
       <_summary>Panel autounhide delay</_summary>
       <_description>Specifies the number of milliseconds delay after the pointer enters the panel area before the panel is automatically re-shown. This key is only relevant if the auto_hide key is true.</_description>
     </key>
     <key name="auto-hide-size" type="i">
       <default>1</default>
+      <range min='1' max='100'/>
       <_summary>Visible pixels when hidden</_summary>
       <_description>Specifies the number of pixels visible when the panel is automatically hidden into a corner. This key is only relevant if the auto_hide key is true.</_description>
     </key>



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