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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Apr 11 16:37:42 EDT 2010


Author: martinl
Date: 2010-04-11 16:37:41 -0400 (Sun, 11 Apr 2010)
New Revision: 41812

Modified:
   grass/trunk/gui/wxpython/gui_modules/gmodeler.py
Log:
wxGUI/modeler: cosmetics


Modified: grass/trunk/gui/wxpython/gui_modules/gmodeler.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gmodeler.py	2010-04-11 20:12:29 UTC (rev 41811)
+++ grass/trunk/gui/wxpython/gui_modules/gmodeler.py	2010-04-11 20:37:41 UTC (rev 41812)
@@ -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