[GRASS-SVN] r41194 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Feb 27 06:31:31 EST 2010
Author: martinl
Date: 2010-02-27 06:31:30 -0500 (Sat, 27 Feb 2010)
New Revision: 41194
Modified:
grass/trunk/gui/wxpython/gui_modules/georect.py
grass/trunk/gui/wxpython/gui_modules/toolbars.py
Log:
wxGUI/georect: message cosmetics
(merge r41192 from devbr6)
Modified: grass/trunk/gui/wxpython/gui_modules/georect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/georect.py 2010-02-27 11:22:02 UTC (rev 41193)
+++ grass/trunk/gui/wxpython/gui_modules/georect.py 2010-02-27 11:31:30 UTC (rev 41194)
@@ -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/trunk/gui/wxpython/gui_modules/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/toolbars.py 2010-02-27 11:22:02 UTC (rev 41193)
+++ grass/trunk/gui/wxpython/gui_modules/toolbars.py 2010-02-27 11:31:30 UTC (rev 41194)
@@ -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