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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 1 05:56:35 EDT 2010


Author: mmetz
Date: 2010-09-01 09:56:35 +0000 (Wed, 01 Sep 2010)
New Revision: 43376

Modified:
   grass/trunk/gui/wxpython/gui_modules/gcpmapdisp.py
Log:
GCP Manager: projection checkbox needed by BufferedWindow

Modified: grass/trunk/gui/wxpython/gui_modules/gcpmapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gcpmapdisp.py	2010-09-01 09:05:26 UTC (rev 43375)
+++ grass/trunk/gui/wxpython/gui_modules/gcpmapdisp.py	2010-09-01 09:56:35 UTC (rev 43376)
@@ -219,6 +219,18 @@
         self.statusbarWin['goto'].Hide()
         self.statusbar.Bind(wx.EVT_TEXT_ENTER, self.OnGoTo, self.statusbarWin['goto'])
 
+        # projection, unused but BufferedWindow checks for it
+        self.statusbarWin['projection'] = wx.CheckBox(parent=self.statusbar, id=wx.ID_ANY,
+                                                      label=_("Use defined projection"))
+        self.statusbarWin['projection'].SetValue(False)
+        size = self.statusbarWin['projection'].GetSize()
+        self.statusbarWin['projection'].SetMinSize((size[0] + 150, size[1]))
+        self.statusbarWin['projection'].SetToolTip(wx.ToolTip (_("Reproject coordinates displayed "
+                                                                 "in the statusbar. Projection can be "
+                                                                 "defined in GUI preferences dialog "
+                                                                 "(tab 'Display')")))
+        self.statusbarWin['projection'].Hide()
+
         # mask
         self.statusbarWin['mask'] = wx.StaticText(parent = self.statusbar, id = wx.ID_ANY,
                                                   label = '')



More information about the grass-commit mailing list