[GRASS-SVN] r30795 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Mar 29 07:47:51 EDT 2008


Author: martinl
Date: 2008-03-29 07:47:51 -0400 (Sat, 29 Mar 2008)
New Revision: 30795

Modified:
   grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI (menuform): 'Optional' tab the most-right one (Required,[defined],Optional,(Command output),Manual)

Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py	2008-03-29 11:41:16 UTC (rev 30794)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py	2008-03-29 11:47:51 UTC (rev 30795)
@@ -847,7 +847,7 @@
         del is_section
 
         # Main goes first, Options goes second
-        for (newidx,content) in [ (0,_( 'Required' )), (1,_('Optional')) ]:
+        for (newidx,content) in [ (0,_( 'Required' )), (len(sections)-1,_('Optional')) ]:
             if content in sections:
                 idx = sections.index( content )
                 sections[idx:idx+1] = []



More information about the grass-commit mailing list