[GRASS-SVN] r41813 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Apr 11 16:39:14 EDT 2010
Author: martinl
Date: 2010-04-11 16:39:14 -0400 (Sun, 11 Apr 2010)
New Revision: 41813
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py
Log:
wxGUI/modeler: cosmetics
(merge r41812 from trunk)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py 2010-04-11 20:37:41 UTC (rev 41812)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py 2010-04-11 20:39:14 UTC (rev 41813)
@@ -520,9 +520,7 @@
self.modelFile = filename
self.SetTitle(self.baseTitle + " - " + os.path.basename(self.modelFile))
- busy = wx.BusyInfo(message=_("Please wait, loading model..."),
- parent=self)
- wx.Yield()
+ self.SetStatusText(_("Please wait, loading model..."), 0)
# load actions
for action in gxmXml.actions:
@@ -576,6 +574,8 @@
actionShape.AddData(dataShape)
+ self.SetStatusText('', 0)
+
self.canvas.Refresh(True)
def WriteModelFile(self, filename):
More information about the grass-commit
mailing list