[GRASS-SVN] r31092 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Apr 23 10:20:23 EDT 2008
Author: martinl
Date: 2008-04-23 10:20:23 -0400 (Wed, 23 Apr 2008)
New Revision: 31092
Modified:
grass/trunk/gui/wxpython/gui_modules/toolbars.py
Log:
wxGUI (toolbars): use private variable in abstract class (DigitToolbar works again)
Modified: grass/trunk/gui/wxpython/gui_modules/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/toolbars.py 2008-04-23 12:49:31 UTC (rev 31091)
+++ grass/trunk/gui/wxpython/gui_modules/toolbars.py 2008-04-23 14:20:23 UTC (rev 31092)
@@ -49,7 +49,7 @@
for tool in toolData:
self.CreateTool(parent, toolbar, *tool)
- self.toolbar = toolbar
+ self._toolbar = toolbar
def ToolbarData(self):
"""Toolbar data"""
@@ -77,7 +77,7 @@
def GetToolbar(self):
"""Get toolbar widget reference"""
- return self.toolbar
+ return self._toolbar
class MapToolbar(AbstractToolbar):
"""
More information about the grass-commit
mailing list