Explorar o código

wxGUI/georect: message cosmetics
(merge https://trac.osgeo.org/grass/changeset/41192 from devbr6)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41194 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa %!s(int64=15) %!d(string=hai) anos
pai
achega
2dea7a91d0

+ 5 - 3
gui/wxpython/gui_modules/georect.py

@@ -15,8 +15,7 @@ Classes:
  - 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 @@ class GeorectWizard(object):
                                                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 @@ class GCP(wx.Frame):
     """
 
     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))

+ 1 - 2
gui/wxpython/gui_modules/toolbars.py

@@ -360,13 +360,12 @@ class GRToolbar(AbstractToolbar):
             (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):