[GRASS-SVN] r29936 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Feb 3 02:41:50 EST 2008
Author: cmbarton
Date: 2008-02-03 02:41:50 -0500 (Sun, 03 Feb 2008)
New Revision: 29936
Modified:
grass/trunk/gui/wxpython/wxgui.py
Log:
Defined georectifier instance so that child modules could use georect methods.
Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py 2008-02-02 21:30:02 UTC (rev 29935)
+++ grass/trunk/gui/wxpython/wxgui.py 2008-02-03 07:41:50 UTC (rev 29936)
@@ -109,6 +109,7 @@
self.workspaceFile = workspace # workspace file
self.menucmd = {} # menuId / cmd
self.georectifying = False # says whether we're running the georectifier
+ self.gr = "" # ID of georectify instance
# creating widgets
# -> self.notebook, self.goutput, self.outpage
@@ -316,8 +317,8 @@
"""
Launch georectifier module
"""
+ self.gr = georect.GeorectWizard(self)
self.georectifying = True
- georect.GeorectWizard(self)
def OnMapsets(self, event):
"""
@@ -808,7 +809,6 @@
# set default font and encoding environmental variables
os.environ["GRASS_FONT"] = self.font
- print 'font=',self.font
if self.encoding != None and self.encoding != "ISO-8859-1":
os.environ["GRASS_ENCODING"] = self.encoding
More information about the grass-commit
mailing list