[GRASS-SVN] r47928 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Aug 28 18:38:34 EDT 2011
Author: cmbarton
Date: 2011-08-28 15:38:34 -0700 (Sun, 28 Aug 2011)
New Revision: 47928
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/dbm.py
Log:
Fix ability to use mouse on 'manage layers' page. Backport from trunk.
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/dbm.py 2011-08-28 22:38:08 UTC (rev 47927)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/dbm.py 2011-08-28 22:38:34 UTC (rev 47928)
@@ -2374,6 +2374,13 @@
maxLayer = max(self.mapDBInfo.layers.keys())
except ValueError:
maxLayer = 0
+
+ # layer description
+
+ layerBox = wx.StaticBox (parent=self.addPanel, id=wx.ID_ANY,
+ label=" %s " % (_("Layer description")))
+ layerSizer = wx.StaticBoxSizer(layerBox, wx.VERTICAL)
+
#
# list of layer widgets (label, value)
#
@@ -2457,12 +2464,6 @@
pageSizer = wx.BoxSizer(wx.HORIZONTAL)
- # layer description
-
- layerBox = wx.StaticBox (parent=self.addPanel, id=wx.ID_ANY,
- label=" %s " % (_("Layer description")))
- layerSizer = wx.StaticBoxSizer(layerBox, wx.VERTICAL)
-
# data area
dataSizer = wx.GridBagSizer(hgap=5, vgap=5)
dataSizer.AddGrowableCol(1)
More information about the grass-commit
mailing list