[GRASS-SVN] r44438 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 26 13:38:08 EST 2010
Author: martinl
Date: 2010-11-26 10:38:08 -0800 (Fri, 26 Nov 2010)
New Revision: 44438
Modified:
grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
fix wxGUI - r44437
Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py 2010-11-26 18:36:51 UTC (rev 44437)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py 2010-11-26 18:38:08 UTC (rev 44438)
@@ -1551,7 +1551,7 @@
else:
all = False
win = wx.BoxSizer(wx.HORIZONTAL)
- if p.get('age', 'old_layer') == 'old_layer':
+ if p.get('age', 'old') == 'old':
win1 = gselect.LayerSelect(parent=which_panel,
all=all,
default=p['default'])
@@ -1585,7 +1585,7 @@
win.Bind(wx.EVT_TEXT, self.OnUpdateSelection)
win.Bind(wx.EVT_TEXT, self.OnSetValue)
elif p.get('prompt', '') == 'dbtable':
- if p.get('age', 'old_dbtable') == 'old_dbtable':
+ if p.get('age', 'old') == 'old':
win = gselect.TableSelect(parent=which_panel)
win.Bind(wx.EVT_COMBOBOX, self.OnUpdateSelection)
win.Bind(wx.EVT_COMBOBOX, self.OnSetValue)
@@ -1680,7 +1680,7 @@
# a textctl and a button;
# we have to target the button here
p['wxId'] = [ fbb.GetChildren()[1].GetId() ]
- if p.get('age', 'new_file') == 'old_file' and \
+ if p.get('age', 'new') == 'old' and \
UserSettings.Get(group='cmd', key='interactiveInput', subkey='enabled'):
# widget for interactive input
ifbb = wx.TextCtrl(parent = which_panel, id = wx.ID_ANY,
More information about the grass-commit
mailing list