[GRASS-SVN] r55118 - grass/trunk/gui/wxpython/psmap
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Feb 18 14:43:26 PST 2013
Author: annakrat
Date: 2013-02-18 14:43:25 -0800 (Mon, 18 Feb 2013)
New Revision: 55118
Modified:
grass/trunk/gui/wxpython/psmap/frame.py
Log:
wxGUI/psmap: show help text in statusbar
Modified: grass/trunk/gui/wxpython/psmap/frame.py
===================================================================
--- grass/trunk/gui/wxpython/psmap/frame.py 2013-02-18 22:15:21 UTC (rev 55117)
+++ grass/trunk/gui/wxpython/psmap/frame.py 2013-02-18 22:43:25 UTC (rev 55118)
@@ -999,6 +999,11 @@
def OnPageChanged(self, event):
"""!Flatnotebook page has changed"""
self.currentPage = self.book.GetPageIndex(self.book.GetCurrentPage())
+ if self.currentPage == 1:
+ self.SetStatusText(_("Press button with green triangle icon to generate preview."))
+ else:
+ self.SetStatusText('')
+
def OnPageChanging(self, event):
@@ -1324,6 +1329,9 @@
Change cursor when moving over resize marker.
"""
+ if self.preview:
+ return
+
if self.mouse['use'] in ('pointer', 'resize'):
pos = event.GetPosition()
foundResize = self.pdcTmp.FindObjects(pos[0], pos[1])
More information about the grass-commit
mailing list