[GRASS-SVN] r31380 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri May 16 15:19:35 EDT 2008
Author: martinl
Date: 2008-05-16 15:19:35 -0400 (Fri, 16 May 2008)
New Revision: 31380
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/rules.py
Log:
wxGUI (rules) use pre-defined win dimension
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/rules.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/rules.py 2008-05-16 19:11:45 UTC (rev 31379)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/rules.py 2008-05-16 19:19:35 UTC (rev 31380)
@@ -24,6 +24,7 @@
import gcmd
import gselect
+import globalvar
class RulesText(wx.Dialog):
def __init__(self, parent, id=wx.ID_ANY, title=_("Enter rules"),
@@ -82,7 +83,7 @@
flag=wx.ALIGN_CENTER_VERTICAL,
pos=(row,0))
- self.selectionInput = gselect.Select(parent=self, id=wx.ID_ANY, size=(300,-1),
+ self.selectionInput = gselect.Select(parent=self, id=wx.ID_ANY, size=globalvar.DIALOG_GSELECT_SIZE,
type=seltype)
boxSizer.Add(item=self.selectionInput,
pos=(row,1))
More information about the grass-commit
mailing list