[dconf-editor] Add a “range-conflict” key.



commit 06efec5e9bb9bd28391c1be484f876edaaf731a1
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Feb 13 08:16:00 2018 +0100

    Add a “range-conflict” key.
    
    Yes, that’s technically a string freeze break. Sorry.

 editor/ca.desrt.dconf-editor.gschema.xml |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/editor/ca.desrt.dconf-editor.gschema.xml b/editor/ca.desrt.dconf-editor.gschema.xml
index d35bca1..cf94e13 100644
--- a/editor/ca.desrt.dconf-editor.gschema.xml
+++ b/editor/ca.desrt.dconf-editor.gschema.xml
@@ -373,6 +373,11 @@ If you are not interacting with D-Bus, then there is no reason to make use of th
       <summary>Conflicting key defaulting to “1” that should give an error</summary>
       <description>This key is a test for multiple schemas in the same path with conflicting keys. It 
shouldn’t be editable as a key mapped to the same path has a different default value.</description>
     </key>
+    <key name="range-conflict" type="u">
+      <default>0</default>
+      <summary>Conflicting key with no range that should give an error</summary>
+      <description>This key is a test for multiple schemas in the same path with conflicting keys. It 
shouldn’t be editable as a key mapped to the same path has a different range.</description>
+    </key>
     <key name="type-conflict" type="s">
       <default>'test'</default>
       <summary>A (simple) string conflicting key that should give a error</summary>
@@ -395,6 +400,12 @@ If you are not interacting with D-Bus, then there is no reason to make use of th
       <summary>Conflicting key defaulting to “2” that should give an error</summary>
       <description>This key is a test for multiple schemas in the same path with conflicting keys. It 
shouldn’t be editable as a key mapped to the same path has a different default value.</description>
     </key>
+    <key name="range-conflict" type="u">
+      <default>0</default>
+      <range min="0" max="5"/>
+      <summary>Conflicting key with range 0~5 that should give an error</summary>
+      <description>This key is a test for multiple schemas in the same path with conflicting keys. It 
shouldn’t be editable as a key mapped to the same path has a different range.</description>
+    </key>
     <key name="type-conflict" type="ms">
       <default>'test'</default>
       <summary>A nullable-string conflicting key that should give an error</summary>


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