[GRASS-SVN] r30815 - in grass/trunk/gui/wxpython: . gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 30 10:48:26 EDT 2008


Author: martinl
Date: 2008-03-30 10:48:26 -0400 (Sun, 30 Mar 2008)
New Revision: 30815

Modified:
   grass/trunk/gui/wxpython/gis_set.py
   grass/trunk/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI: cosmetics in messages

Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py	2008-03-30 14:20:33 UTC (rev 30814)
+++ grass/trunk/gui/wxpython/gis_set.py	2008-03-30 14:48:26 UTC (rev 30815)
@@ -197,8 +197,8 @@
             try:
                 self.lblocations.SetSelection(self.listOfLocations.index(location))
             except ValueError:
-                print >> sys.stderr, _("ERROR: Location <%s> not found in GISDBASE (%s)") %  \
-                    (location, self.gisdbase)
+                print >> sys.stderr, _("ERROR: Location <%s> not found") % \
+                    (location)
                 
             # list of mapsets
             self.UpdateMapsets(os.path.join(self.gisdbase,location))

Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2008-03-30 14:20:33 UTC (rev 30814)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2008-03-30 14:48:26 UTC (rev 30815)
@@ -3047,8 +3047,8 @@
         style = self.gismanager.goutput.cmd_output.StyleWarning
         self.gismanager.goutput.WriteLog(_('Click and drag with left mouse button '
                                            'to measure.%s'
-                                           'Double click with left button to clear.%s') % \
-                                             (os.linesep, os.linesep), style)
+                                           'Double click with left button to clear.') % \
+                                             (os.linesep), style)
         if self.projinfo['proj'] != 'xy':
             units = self.projinfo['units']
             style = self.gismanager.goutput.cmd_output.StyleCommand



More information about the grass-commit mailing list