From 7bc67b0482408c0b841a7c01c8373fcf2563654e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 27 Jun 2008 10:30:06 +0200 Subject: [PATCH] Add fill attribute on tree element --- trytond/ir/ui/form.rnc | 2 ++ trytond/ir/ui/form.rng | 10 ++++++++++ trytond/ir/ui/tree.rnc | 2 ++ trytond/ir/ui/tree.rng | 10 ++++++++++ 4 files changed, 24 insertions(+) diff --git a/trytond/ir/ui/form.rnc b/trytond/ir/ui/form.rnc index 961262ee11..9974fbec4f 100644 --- a/trytond/ir/ui/form.rnc +++ b/trytond/ir/ui/form.rnc @@ -28,6 +28,8 @@ attlist.tree &= attribute on_write { text }? attlist.tree &= attribute editable { "top" | "bottom" }? attlist.tree &= attribute sequence { text }? attlist.tree &= attribute colors { text }? +attlist.tree &= + [ a:defaultValue = "0" ] attribute fill { "0" | "1" }? graph = element graph { attlist.graph, x, y } attlist.graph &= diff --git a/trytond/ir/ui/form.rng b/trytond/ir/ui/form.rng index 439c6ca690..e9d90114a1 100644 --- a/trytond/ir/ui/form.rng +++ b/trytond/ir/ui/form.rng @@ -78,6 +78,16 @@ + + + + + 0 + 1 + + + + diff --git a/trytond/ir/ui/tree.rnc b/trytond/ir/ui/tree.rnc index c54f8615c1..84cb3d8ff0 100644 --- a/trytond/ir/ui/tree.rnc +++ b/trytond/ir/ui/tree.rnc @@ -7,6 +7,8 @@ attlist.tree &= attribute on_write { text }? attlist.tree &= attribute editable { "top" | "bottom" }? attlist.tree &= attribute sequence { text }? attlist.tree &= attribute colors { text }? +attlist.tree &= + [ a:defaultValue = "0" ] attribute fill { "0" | "1" }? attlist.tree &= [ a:defaultValue = "0" ] attribute toolbar { "0" | "1" }? field = element field { attlist.field, empty } diff --git a/trytond/ir/ui/tree.rng b/trytond/ir/ui/tree.rng index 3e240937e7..b45871d5a2 100644 --- a/trytond/ir/ui/tree.rng +++ b/trytond/ir/ui/tree.rng @@ -38,6 +38,16 @@ + + + + + 0 + 1 + + + +