[GRASS-SVN] r35152 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jan 1 18:06:43 EST 2009
Author: cmbarton
Date: 2009-01-01 18:06:43 -0500 (Thu, 01 Jan 2009)
New Revision: 35152
Modified:
grass/trunk/gui/wxpython/gui_modules/mapdisp.py
Log:
Fix for hidden overlay option windows on Mac. Also fix to clear display after measurement. Replace grassenv with grass.gisenv().
Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp.py 2009-01-01 23:00:57 UTC (rev 35151)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp.py 2009-01-01 23:06:43 UTC (rev 35152)
@@ -66,6 +66,7 @@
import globalvar
import utils
import gdialogs
+import grass
from vdigit import VDigitCategoryDialog as VDigitCategoryDialog
from vdigit import VDigitZBulkDialog as VDigitZBulkDialog
from vdigit import VDigitDuplicatesDialog as VDigitDuplicatesDialog
@@ -4091,7 +4092,7 @@
gm_map = MapApp(0)
# set title
gm_map.mapFrm.SetTitle ("GRASS GIS - Map Display: " + title + " - Location: " + \
- grassenv.GetGRASSVariable("LOCATION_NAME"))
+ grass.gisenv()['LOCATION_NAME'])
gm_map.MainLoop()
os.remove(cmdfilename)
More information about the grass-commit
mailing list