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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 16 15:20:28 EDT 2008


Author: martinl
Date: 2008-05-16 15:20:28 -0400 (Fri, 16 May 2008)
New Revision: 31381

Modified:
   grass/trunk/gui/wxpython/gui_modules/rules.py
Log:
wxGUI (rules) use pre-defined win dimension (sync'ed with devbr6, r31380)

Modified: grass/trunk/gui/wxpython/gui_modules/rules.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/rules.py	2008-05-16 19:19:35 UTC (rev 31380)
+++ grass/trunk/gui/wxpython/gui_modules/rules.py	2008-05-16 19:20:28 UTC (rev 31381)
@@ -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