[GRASS-SVN] r29922 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Feb 1 02:16:59 EST 2008
Author: cmbarton
Date: 2008-02-01 02:16:55 -0500 (Fri, 01 Feb 2008)
New Revision: 29922
Modified:
grass/trunk/gui/wxpython/wxgui.py
Log:
Add georectifying variable to tell if we are georectifying or not.
Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py 2008-02-01 05:16:58 UTC (rev 29921)
+++ grass/trunk/gui/wxpython/wxgui.py 2008-02-01 07:16:55 UTC (rev 29922)
@@ -80,6 +80,7 @@
from gui_modules.debug import Debug as Debug
from icons.icon import Icons as Icons
+
class GMFrame(wx.Frame):
"""
GIS Manager frame with notebook widget for controlling
@@ -107,6 +108,7 @@
self.encoding = 'ISO-8859-1' # default encoding for display fonts
self.workspaceFile = workspace # workspace file
self.menucmd = {} # menuId / cmd
+ self.georectifying = False # says whether we're running the georectifier
# creating widgets
# -> self.notebook, self.goutput, self.outpage
@@ -314,8 +316,9 @@
"""
Launch georectifier module
"""
+ self.georectifying = True
georect.GeorectWizard(self)
-
+
def OnMapsets(self, event):
"""
Launch mapset access dialog
More information about the grass-commit
mailing list