[GRASS-SVN] r55133 - grass/branches/develbranch_6/gui/wxpython/psmap
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Feb 20 03:10:32 PST 2013
Author: annakrat
Date: 2013-02-20 03:10:32 -0800 (Wed, 20 Feb 2013)
New Revision: 55133
Modified:
grass/branches/develbranch_6/gui/wxpython/psmap/frame.py
Log:
wxGUI/composer: show help text in statusbar (merge from trunk, r55118)
Modified: grass/branches/develbranch_6/gui/wxpython/psmap/frame.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/psmap/frame.py 2013-02-20 11:03:41 UTC (rev 55132)
+++ grass/branches/develbranch_6/gui/wxpython/psmap/frame.py 2013-02-20 11:10:32 UTC (rev 55133)
@@ -992,6 +992,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):
@@ -1316,6 +1321,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