[GRASS-SVN] r41449 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Mar 15 10:16:54 EDT 2010
Author: martinl
Date: 2010-03-15 10:16:54 -0400 (Mon, 15 Mar 2010)
New Revision: 41449
Modified:
grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
revert wrong change in r41447
Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py 2010-03-15 14:15:30 UTC (rev 41448)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py 2010-03-15 14:16:54 UTC (rev 41449)
@@ -565,6 +565,10 @@
return default
+ def GetTask(self):
+ """!Get grassTask instance"""
+ return self.task
+
class helpPanel(wx.html.HtmlWindow):
"""
This panel holds the text from GRASS docs.
@@ -1879,11 +1883,7 @@
def __init__(self, grass_task):
self.grass_task = grass_task
wx.App.__init__(self, False)
-
- def GetTask(self):
- """!Get grassTask instance"""
- return self.grass_task
-
+
def OnInit(self):
self.mf = mainFrame(parent = None, ID = wx.ID_ANY, task_description = self.grass_task)
self.mf.CentreOnScreen()
More information about the grass-commit
mailing list