[GRASS-SVN] r51130 - grass/branches/releasebranch_6_4/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Mar 21 12:20:10 EDT 2012
Author: cmbarton
Date: 2012-03-21 09:20:10 -0700 (Wed, 21 Mar 2012)
New Revision: 51130
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py
Log:
Use normal wx.SplashScreen instead of AdvancedSplash on the Mac to avoid errors whenever GUI is started. Backport from trunk r51129
Modified: grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py 2012-03-21 16:04:49 UTC (rev 51129)
+++ grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py 2012-03-21 16:20:10 UTC (rev 51130)
@@ -57,7 +57,9 @@
introImagePath = os.path.join(globalvar.ETCIMGDIR, "silesia_splash.png")
introImage = wx.Image(introImagePath, wx.BITMAP_TYPE_PNG)
introBmp = introImage.ConvertToBitmap()
- if SC:
+ if SC and sys.platform != 'darwin':
+ # AdvancedSplash is buggy on the Mac as of 2.8.12.1
+ # and raises annoying (though seemingly harmless) errors everytime the GUI is started
splash = SC.AdvancedSplash(bitmap = introBmp,
timeout = 2000, parent = None, id = wx.ID_ANY)
splash.SetText(_('Starting GRASS GUI...'))
More information about the grass-commit
mailing list