Author: bugman Date: Tue Apr 10 19:51:37 2012 New Revision: 15693 URL: http://svn.gna.org/viewcvs/relax?rev=15693&view=rev Log: The relax Mac OS X dock icon is now turned off when using the wxGTK build of wxPython. This prevents a little grey frameless window appearing with the largest of the relax Ulysses butterfly icons in the centre. Modified: 1.3/gui/relax_gui.py Modified: 1.3/gui/relax_gui.py URL: http://svn.gna.org/viewcvs/relax/1.3/gui/relax_gui.py?rev=15693&r1=15692&r2=15693&view=diff ============================================================================== --- 1.3/gui/relax_gui.py (original) +++ 1.3/gui/relax_gui.py Tue Apr 10 19:51:37 2012 @@ -28,6 +28,7 @@ import os from os import F_OK, access, getcwd, mkdir, sep import platform +from re import search import sys from textwrap import wrap from thread import start_new_thread @@ -101,7 +102,7 @@ self.SetIcons(relax_icons) # Set up the Mac OS X task bar icon. - if 'darwin' in sys.platform: + if 'darwin' in sys.platform and not search('gtk2', wx.version()): self.taskbar_icon = Relax_task_bar_icon(self) # Initialise some variables for the GUI.