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