Reviewers: ,


Please review this at http://codereview.tryton.org/111001/

Affected files:
  M CHANGELOG
  M trytond/ir/ui/board.rnc
  M trytond/ir/ui/board.rng
  M trytond/ir/ui/form.rnc
  M trytond/ir/ui/form.rng


Index: CHANGELOG
===================================================================

--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,4 @@
+* Remove tabpos attribute on notebook
 * Make PYSON more Pythonic
 * Add readonly on Transaction
 * Add has_returning on Cursor

Index: trytond/ir/ui/board.rnc
===================================================================

--- a/trytond/ir/ui/board.rnc
+++ b/trytond/ir/ui/board.rnc
@@ -54,8 +54,6 @@
 newline = element newline { attlist.newline, empty }
 attlist.newline &= attribute id { text }
 notebook = element notebook { attlist.notebook, page* }
-attlist.notebook &=
-  attribute tabpos { "up" | "down" | "left" | "right" }?
 attlist.notebook &= [ a:defaultValue = "4" ] attribute colspan { text }?
 page =
   element page {

Index: trytond/ir/ui/board.rng
===================================================================

--- a/trytond/ir/ui/board.rng
+++ b/trytond/ir/ui/board.rng
@@ -230,18 +230,6 @@
   </define>
   <define name="attlist.notebook" combine="interleave">
     <optional>
-      <attribute name="tabpos">
-        <choice>
-          <value>up</value>
-          <value>down</value>
-          <value>left</value>
-          <value>right</value>
-        </choice>
-      </attribute>
-    </optional>
-  </define>
-  <define name="attlist.notebook" combine="interleave">
-    <optional>
       <attribute name="colspan" a:defaultValue="4"/>
     </optional>
   </define>

Index: trytond/ir/ui/form.rnc
===================================================================

--- a/trytond/ir/ui/form.rnc
+++ b/trytond/ir/ui/form.rnc
@@ -164,8 +164,6 @@
 attlist.button &= attribute name { text }
 attlist.button &= attribute states { text }?
 notebook = element notebook { attlist.notebook, page* }
-attlist.notebook &=
-  attribute tabpos { "up" | "down" | "left" | "right" }?
 attlist.notebook &= [ a:defaultValue = "4" ] attribute colspan { text }?
 page =
   element page {

Index: trytond/ir/ui/form.rng
===================================================================

--- a/trytond/ir/ui/form.rng
+++ b/trytond/ir/ui/form.rng
@@ -637,18 +637,6 @@
   </define>
   <define name="attlist.notebook" combine="interleave">
     <optional>
-      <attribute name="tabpos">
-        <choice>
-          <value>up</value>
-          <value>down</value>
-          <value>left</value>
-          <value>right</value>
-        </choice>
-      </attribute>
-    </optional>
-  </define>
-  <define name="attlist.notebook" combine="interleave">
-    <optional>
       <attribute name="colspan" a:defaultValue="4"/>
     </optional>
   </define>



--
tryton-dev@googlegroups.com mailing list

Reply via email to