[GRASS-SVN] r53683 - grass/branches/releasebranch_6_4/gui/wxpython/mapdisp

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 4 11:39:08 PST 2012


Author: martinl
Date: 2012-11-04 11:39:08 -0800 (Sun, 04 Nov 2012)
New Revision: 53683

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/mapdisp/frame.py
Log:
wxGUI: fix OnMeasure()


Modified: grass/branches/releasebranch_6_4/gui/wxpython/mapdisp/frame.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/mapdisp/frame.py	2012-11-04 17:11:24 UTC (rev 53682)
+++ grass/branches/releasebranch_6_4/gui/wxpython/mapdisp/frame.py	2012-11-04 19:39:08 UTC (rev 53683)
@@ -933,11 +933,10 @@
         self.MapWindow.SetCursor(self.cursors["pencil"])
         
         # initiating output
-        style = self._layerManager.goutput.cmd_output.StyleWarning
-        self._layerManager.goutput.WriteLog(_('Click and drag with left mouse button '
-                                              'to measure.%s'
-                                              'Double click with left button to clear.') % \
-                                                (os.linesep), style)
+        self._layerManager.goutput.WriteWarning(_('Click and drag with left mouse button '
+                                                  'to measure.\n'
+                                                  'Double click with left button to clear.'))
+        
         if self.Map.projinfo['proj'] != 'xy':
             units = self.Map.projinfo['units']
             self._layerManager.goutput.WriteCmdLog(_('Measuring distance') + ' ('



More information about the grass-commit mailing list