[GRASS-SVN] r61151 - grass/trunk/gui/wxpython/lmgr
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jul 4 03:00:33 PDT 2014
Author: martinl
Date: 2014-07-04 03:00:33 -0700 (Fri, 04 Jul 2014)
New Revision: 61151
Modified:
grass/trunk/gui/wxpython/lmgr/datacatalog.py
Log:
wxGUI/datacatalog: change method name from r61150 (cosmetics)
Modified: grass/trunk/gui/wxpython/lmgr/datacatalog.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/datacatalog.py 2014-07-04 09:49:27 UTC (rev 61150)
+++ grass/trunk/gui/wxpython/lmgr/datacatalog.py 2014-07-04 10:00:33 UTC (rev 61151)
@@ -75,7 +75,7 @@
def LoadItemsDone(self):
self._loaded = True
- self.tree.ExpandCurrent()
+ self.tree.ExpandCurrentLocation()
class LocationMapTree(wx.TreeCtrl):
def __init__(self, parent):
@@ -258,7 +258,7 @@
stringm = 'MAPSET='+mapset
RunCommand('g.gisenv', set=stringm)
- def ExpandCurrent(self):
+ def ExpandCurrentLocation(self):
"""Expand current location"""
location = grass.gisenv()['LOCATION_NAME']
item = self.getItemByName(location, self.root)
More information about the grass-commit
mailing list