[GRASS-SVN] r61387 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 23 20:25:19 PDT 2014


Author: wenzeslaus
Date: 2014-07-23 20:25:18 -0700 (Wed, 23 Jul 2014)
New Revision: 61387

Modified:
   grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI/gui_core: use standard format for option name with type in box label in forms (e.g. g.mlist now has 'type=string' instead of 'type, string')

Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py	2014-07-24 02:43:56 UTC (rev 61386)
+++ grass/trunk/gui/wxpython/gui_core/forms.py	2014-07-24 03:25:18 UTC (rev 61387)
@@ -974,7 +974,7 @@
                 if p.get('multiple', False) and \
                         p.get('gisprompt',False) == False and \
                         p.get('type', '') == 'string':
-                    title_txt.SetLabel(" %s: (%s, %s) " % (title, p['name'], p['type']))
+                    title_txt.SetLabel(" %s: (%s=%s) " % (title, p['name'], p['type']))
                     stSizer = wx.StaticBoxSizer(box = title_txt, orient = wx.VERTICAL)
                     if valuelist_desc:
                         hSizer = wx.FlexGridSizer(cols = 1, vgap = 1)



More information about the grass-commit mailing list