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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 4 11:47:21 PST 2012


Author: martinl
Date: 2012-11-04 11:47:21 -0800 (Sun, 04 Nov 2012)
New Revision: 53684

Modified:
   grass/branches/develbranch_6/gui/wxpython/mapdisp/frame.py
Log:
wxGUI: fix OnMeasure()
       (merge r53683 from relbr64)


Modified: grass/branches/develbranch_6/gui/wxpython/mapdisp/frame.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/mapdisp/frame.py	2012-11-04 19:39:08 UTC (rev 53683)
+++ grass/branches/develbranch_6/gui/wxpython/mapdisp/frame.py	2012-11-04 19:47:21 UTC (rev 53684)
@@ -941,11 +941,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