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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 28 15:53:58 EDT 2011


Author: cmbarton
Date: 2011-08-28 12:53:58 -0700 (Sun, 28 Aug 2011)
New Revision: 47925

Modified:
   grass/trunk/gui/wxpython/gui_modules/dbm.py
Log:
Fix DBM manage layers page so that it can be accessed with mouse on Mac.

Modified: grass/trunk/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/dbm.py	2011-08-28 19:43:03 UTC (rev 47924)
+++ grass/trunk/gui/wxpython/gui_modules/dbm.py	2011-08-28 19:53:58 UTC (rev 47925)
@@ -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