[GRASS-SVN] r41192 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 27 06:12:53 EST 2010


Author: martinl
Date: 2010-02-27 06:12:52 -0500 (Sat, 27 Feb 2010)
New Revision: 41192

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/georect.py
   grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py
Log:
wxGUI/georect: message cosmetics


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/georect.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/georect.py	2010-02-27 11:03:30 UTC (rev 41191)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/georect.py	2010-02-27 11:12:52 UTC (rev 41192)
@@ -15,8 +15,7 @@
  - EditGCP
  - GrSettingsDialog
 
-(C) 2006-2009 by the GRASS Development Team
-
+(C) 2006-2010 by the GRASS Development Team
 This program is free software under the GNU General Public License
 (>=v2). Read the file COPYING that comes with GRASS for details.
 
@@ -192,6 +191,9 @@
                                                size=globalvar.MAP_WINDOW_SIZE,
                                                toolbars=["georect"],
                                                Map=self.Map, lmgr=self.parent)
+            self.xy_mapdisp.SetTitle(_("GRASS GIS Map Display: 1" +
+                                       " - Location: " + self.newlocation +
+                                       " (source location)"))
 
             self.gcpmgr.SetMapDisplay(self.xy_mapdisp)
             
@@ -659,7 +661,7 @@
     """
 
     def __init__(self, parent, grwiz, mapdisp=None, id=wx.ID_ANY,
-                 title=_("Create & manage ground control points"),
+                 title=_("Define/manage ground control points"),
                  size=wx.DefaultSize):
 
         wx.Frame.__init__(self, parent, id, title, size=(625, 300))

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py	2010-02-27 11:03:30 UTC (rev 41191)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py	2010-02-27 11:12:52 UTC (rev 41192)
@@ -360,13 +360,12 @@
             (self.zoomtomap, "zoomtomap", Icons["zoommenu"].GetBitmap(),
              wx.ITEM_NORMAL, _("Zoom to map"), _("Zoom to displayed map"),
              self.OnZoomMap),
-            ("", "", "", "", "", "", ""),
             )
     
     def OnZoomMap(self, event):
         """!Zoom to selected map"""
         self.parent.MapWindow.ZoomToMap(layers = self.mapcontent.GetListOfLayers())
-
+        
         event.Skip()
         
 class GCPToolbar(AbstractToolbar):



More information about the grass-commit mailing list