[GRASS-SVN] r48228 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Sep 10 00:47:58 EDT 2011


Author: hamish
Date: 2011-09-09 21:47:57 -0700 (Fri, 09 Sep 2011)
New Revision: 48228

Modified:
   grass/trunk/gui/wxpython/gui_modules/gcpmapdisp.py
   grass/trunk/gui/wxpython/gui_modules/mapdisp.py
Log:
add a tooltip explaining that 'map scale' as given here is only really accurate to within the order of magnitude (see #1381)

Modified: grass/trunk/gui/wxpython/gui_modules/gcpmapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gcpmapdisp.py	2011-09-10 02:00:45 UTC (rev 48227)
+++ grass/trunk/gui/wxpython/gui_modules/gcpmapdisp.py	2011-09-10 04:47:57 UTC (rev 48228)
@@ -200,6 +200,10 @@
                                                 '1:100000',
                                                 '1:1000000'])
         self.statusbarWin['mapscale'].Hide()
+        self.statusbarWin['mapscale'].SetToolTip(wx.ToolTip (_("As everyone's monitors and resolutions "
+                                                              "are set differently these values are not "
+                                                              "true map scales, but should get you into "
+                                                              "the right neighborhood.")))
         self.statusbar.Bind(wx.EVT_TEXT_ENTER, self.OnChangeMapScale, self.statusbarWin['mapscale'])
         self.statusbar.Bind(wx.EVT_COMBOBOX, self.OnChangeMapScale, self.statusbarWin['mapscale'])
 

Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2011-09-10 02:00:45 UTC (rev 48227)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2011-09-10 04:47:57 UTC (rev 48228)
@@ -198,6 +198,10 @@
                                                 '1:100000',
                                                 '1:1000000'])
         self.statusbarWin['mapscale'].Hide()
+        self.statusbarWin['mapscale'].SetToolTip(wx.ToolTip (_("As everyone's monitors and resolutions "
+                                                              "are set differently these values are not "
+                                                              "true map scales, but should get you into "
+                                                              "the right neighborhood.")))
         self.statusbar.Bind(wx.EVT_TEXT_ENTER, self.OnChangeMapScale, self.statusbarWin['mapscale'])
         self.statusbar.Bind(wx.EVT_COMBOBOX, self.OnChangeMapScale, self.statusbarWin['mapscale'])
 



More information about the grass-commit mailing list