[GRASS-SVN] r32443 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Aug 1 07:43:20 EDT 2008
Author: martinl
Date: 2008-08-01 07:43:20 -0400 (Fri, 01 Aug 2008)
New Revision: 32443
Modified:
grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI: fix flags label/description in dialog
Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py 2008-08-01 11:32:24 UTC (rev 32442)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py 2008-08-01 11:43:20 UTC (rev 32443)
@@ -35,10 +35,10 @@
Method added to automatically re-run with pythonw on a Mac.
@author Jan-Oliver Wagner <jan at intevation.de>
-Bernhard Reiter <bernhard at intevation.de>
-Michael Barton, Arizona State University
-Daniel Calvelo <dca.gis at gmail.com>
-Martin Landa <landa.martin at gmail.com>
+ at author Bernhard Reiter <bernhard at intevation.de>
+ at author Michael Barton, Arizona State University
+ at author Daniel Calvelo <dca.gis at gmail.com>
+ at author Martin Landa <landa.martin at gmail.com>
@todo
- verify option value types
@@ -944,9 +944,8 @@
for f in visible_flags:
which_sizer = tabsizer[ f['guisection'] ]
which_panel = tab[ f['guisection'] ]
- # if label is given -> label and description -> tooltip
- # otherwise description -> lavel
- if p.get('label','') != '':
+ # if label is given: description -> tooltip
+ if f.get('label','') != '':
title = text_beautify( f['label'] )
tooltip = text_beautify ( f['description'] )
else:
More information about the grass-commit
mailing list