[GRASS-SVN] r49638 - grass/branches/develbranch_6/gui/wxpython/mapdisp

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 9 07:01:40 EST 2011


Author: martinl
Date: 2011-12-09 04:01:40 -0800 (Fri, 09 Dec 2011)
New Revision: 49638

Modified:
   grass/branches/develbranch_6/gui/wxpython/mapdisp/toolbars.py
Log:
wxGUI: fix getting error messages for vdigit & nviz


Modified: grass/branches/develbranch_6/gui/wxpython/mapdisp/toolbars.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/mapdisp/toolbars.py	2011-12-09 11:57:59 UTC (rev 49637)
+++ grass/branches/develbranch_6/gui/wxpython/mapdisp/toolbars.py	2011-12-09 12:01:40 UTC (rev 49638)
@@ -47,7 +47,7 @@
             choices.append(_('3D view'))
             self.toolId['3d'] = 1
         else:
-            from nviz import errorMsg
+            from nviz.main import errorMsg
             log.WriteCmdLog(_('3D view mode not available'))
             log.WriteWarning(_('Reason: %s') % str(errorMsg))
             log.WriteLog(_('Note that the wxGUI\'s 3D view mode is currently disabled '
@@ -64,7 +64,7 @@
             else:
                 self.toolId['vdigit'] = 1
         else:
-            from vdigit import errorMsg
+            from vdigit.main import errorMsg
             log.WriteCmdLog(_('Vector digitizer not available'))
             log.WriteWarning(_('Reason: %s') % errorMsg)
             log.WriteLog(_('Note that the wxGUI\'s vector digitizer is currently disabled '



More information about the grass-commit mailing list