CVS: Products/ParsedXML - CHANGES.txt:1.21 ManageableDOM.py:1.117

Martijn Faassen <[email protected]> Tue, 27 Apr 2004 14:13:19 -0400
Newsgroups gmane.comp.web.zope.parsed-xml
Message-ID <[email protected]>
Update of /cvs-repository/Products/ParsedXML
In directory cvs.zope.org:/tmp/cvs-serv7537

Modified Files:
	CHANGES.txt ManageableDOM.py 
Log Message:
Reorder tabs.


=== Products/ParsedXML/CHANGES.txt 1.20 => 1.21 ===
--- Products/ParsedXML/CHANGES.txt:1.20	Tue Apr 27 14:09:50 2004
+++ Products/ParsedXML/CHANGES.txt	Tue Apr 27 14:13:17 2004
@@ -18,6 +18,9 @@
 
       - get rid of obsolete delegation through StrIO module to get StringIO.
 
+      - Updated UI so that the XML edit screen is the first screen
+        seen, not the DOM screen.
+
   ParsedXML 1.3.1
 
     Bugs Fixed


=== Products/ParsedXML/ManageableDOM.py 1.116 => 1.117 ===
--- Products/ParsedXML/ManageableDOM.py:1.116	Tue Apr 27 14:08:20 2004
+++ Products/ParsedXML/ManageableDOM.py	Tue Apr 27 14:13:17 2004
@@ -307,12 +307,13 @@
         pass # _setName only exists in Zope 2.4+
     manage_main = manage_DOMTree
  
-    manage_options = ({'label':'DOM', 'action':'manage_DOMTree',
-                       'help': ('ParsedXML', 'ParsedXML_DOM.stx')},
-                      {'label':'Edit', 'action':'manage_editForm',
-                       'help': ('ParsedXML', 'ParsedXML_Edit.stx')},
-                      {'label':'Raw', 'action':'index_html'})
-
+    manage_options = (
+        {'label':'Edit', 'action':'manage_editForm',
+         'help': ('ParsedXML', 'ParsedXML_Edit.stx')},
+        {'label':'DOM', 'action':'manage_DOMTree',
+         'help': ('ParsedXML', 'ParsedXML_DOM.stx')},
+        {'label':'Raw', 'action':'index_html'})
+    
     def makeErrorOutput(self, data, offset, lineno):
         """return a HTML-renderable output of data with a text pointer
         to the position at offset, lineno"""