[GRASS-SVN] r51129 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Mar 21 12:04:49 EDT 2012
Author: cmbarton
Date: 2012-03-21 09:04:49 -0700 (Wed, 21 Mar 2012)
New Revision: 51129
Modified:
grass/trunk/gui/wxpython/wxgui.py
Log:
Use normal wx.SplashScreen instead of AdvancedSplash on the Mac to avoid errors whenever GUI is started
Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py 2012-03-21 14:21:47 UTC (rev 51128)
+++ grass/trunk/gui/wxpython/wxgui.py 2012-03-21 16:04:49 UTC (rev 51129)
@@ -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