[GRASS-SVN] r52648 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 13 01:05:39 PDT 2012
Author: martinl
Date: 2012-08-13 01:05:37 -0700 (Mon, 13 Aug 2012)
New Revision: 52648
Modified:
grass/trunk/gui/wxpython/gui_core/preferences.py
Log:
wxGUI: use 'g.gisenv unset=' to unset GRASS variables
Modified: grass/trunk/gui/wxpython/gui_core/preferences.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/preferences.py 2012-08-12 23:10:21 UTC (rev 52647)
+++ grass/trunk/gui/wxpython/gui_core/preferences.py 2012-08-13 08:05:37 UTC (rev 52648)
@@ -179,7 +179,7 @@
if lang:
RunCommand('g.gisenv', set = 'LANG=%s' % lang)
else:
- RunCommand('g.gisenv', set = 'LANG=')
+ RunCommand('g.gisenv', unset = 'LANG')
event = wxSettingsChanged()
wx.PostEvent(self, event)
self.Close()
More information about the grass-commit
mailing list