[GRASS-SVN] r49806 - grass/trunk/gui/wxpython/lmgr
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Dec 18 10:35:46 EST 2011
Author: annakrat
Date: 2011-12-18 07:35:46 -0800 (Sun, 18 Dec 2011)
New Revision: 49806
Modified:
grass/trunk/gui/wxpython/lmgr/frame.py
grass/trunk/gui/wxpython/lmgr/layertree.py
Log:
wxGUI: layertree: remove unused and wrong parameter (co-author V. Petras)
Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py 2011-12-18 12:56:51 UTC (rev 49805)
+++ grass/trunk/gui/wxpython/lmgr/frame.py 2011-12-18 15:35:46 UTC (rev 49806)
@@ -1286,7 +1286,7 @@
wx.TR_LINES_AT_ROOT| wx.TR_HIDE_ROOT |
wx.TR_DEFAULT_STYLE| wx.NO_BORDER | wx.FULL_REPAINT_ON_RESIZE,
idx = self.disp_idx, lmgr = self, notebook = self.gm_cb,
- auimgr = self._auimgr, showMapDisplay = show)
+ showMapDisplay = show)
# layout for controls
cb_boxsizer = wx.BoxSizer(wx.VERTICAL)
Modified: grass/trunk/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/layertree.py 2011-12-18 12:56:51 UTC (rev 49805)
+++ grass/trunk/gui/wxpython/lmgr/layertree.py 2011-12-18 15:35:46 UTC (rev 49806)
@@ -63,8 +63,6 @@
del kwargs['lmgr']
self.notebook = kwargs['notebook'] # GIS Manager notebook for layer tree
del kwargs['notebook']
- self.auimgr = kwargs['auimgr'] # aui manager
- del kwargs['auimgr']
showMapDisplay = kwargs['showMapDisplay']
del kwargs['showMapDisplay']
self.treepg = parent # notebook page holding layer tree
@@ -104,7 +102,7 @@
style = wx.DEFAULT_FRAME_STYLE,
tree = self, notebook = self.notebook,
lmgr = self.lmgr, page = self.treepg,
- Map = self.Map, auimgr = self.auimgr)
+ Map = self.Map)
# title
self.mapdisplay.SetTitle(_("GRASS GIS Map Display: %(id)d - Location: %(loc)s") % \
More information about the grass-commit
mailing list