It may be possible to change this behaviour (for example see http://wiki.wxpython.org/Optimizing%20for%20Mac%20OS%20X and http://stackoverflow.com/questions/824458/app-dock-icon-in-wxpython). There are many other places on the web describing how to do this. But unfortunately I don't have a Mac to test things on, so I really can't help.
Sorry, Edward On 8 June 2011 15:08, Sébastien Morin <[email protected]> wrote: > Hi, > > The apple icon is always there for all applications, including the relax > gui. > > When I launch the gui, the icon in the dock is a rocket, the icon for > "Python Launcher". The name of the application is also "Python" and not > "relax gui" or something similar... Indeed, relax gui starts within the > Python launcher... or something like this... > > > Séb :) > > > On 11-06-08 2:56 PM, Edward d'Auvergne wrote: >> >> Hi Seb, >> >> I was wondering if the apple icon in the top left hand corner changes >> when the GUI is executed? I'm wondering if we should comment this >> out, or handle it differently for a Mac. From memory, that icon >> changes. Is that correct? >> >> Regards, >> >> Edward >> >> >> >> On 8 June 2011 14:49,<[email protected]> wrote: >>> >>> Author: semor >>> Date: Wed Jun 8 14:49:50 2011 >>> New Revision: 12899 >>> >>> URL: http://svn.gna.org/viewcvs/relax?rev=12899&view=rev >>> Log: >>> >>> relax icon is not shown in "Global relax settings" window if running on a >>> Mac. >>> >>> This is as in revision 12856: >>> http://svn.gna.org/viewcvs/relax?rev=12856&view=rev), >>> but for the button "Settings" / "Global relax settings". >>> >>> This change creates a bug, as the opened window upon clicking this >>> button, >>> when closed, will have relax gui crash (with no button responding). This >>> needs to be fixed... >>> >>> >>> Modified: >>> 1.3/gui/settings.py >>> >>> Modified: 1.3/gui/settings.py >>> URL: >>> http://svn.gna.org/viewcvs/relax/1.3/gui/settings.py?rev=12899&r1=12898&r2=12899&view=diff >>> >>> ============================================================================== >>> --- 1.3/gui/settings.py (original) >>> +++ 1.3/gui/settings.py Wed Jun 8 14:49:50 2011 >>> @@ -310,9 +310,13 @@ >>> def __set_properties(self): >>> # begin globalparam.__set_properties >>> self.SetTitle("Global parameters") >>> - _icon = wx.EmptyIcon() >>> - >>> _icon.CopyFromBitmap(wx.Bitmap(paths.IMAGE_PATH+'relax_start.gif', >>> wx.BITMAP_TYPE_ANY)) >>> - self.SetIcon(_icon) >>> + >>> + # Disable icon if running on a Mac >>> + if not 'darwin' in sys.platform: >>> + _icon = wx.EmptyIcon() >>> + >>> _icon.CopyFromBitmap(wx.Bitmap(paths.IMAGE_PATH+'relax_start.gif', >>> wx.BITMAP_TYPE_ANY)) >>> + self.SetIcon(_icon) >>> + >>> self.label_1_copy.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, >>> wx.BOLD, 0, "")) >>> self.bond.SetMinSize((250, 27)) >>> self.csa.SetMinSize((250, 27)) >>> >>> >>> _______________________________________________ >>> relax (http://nmr-relax.com) >>> >>> This is the relax-commits mailing list >>> [email protected] >>> >>> To unsubscribe from this list, get a password >>> reminder, or change your subscription options, >>> visit the list information page at >>> https://mail.gna.org/listinfo/relax-commits >>> >> _______________________________________________ >> relax (http://nmr-relax.com) >> >> This is the relax-devel mailing list >> [email protected] >> >> To unsubscribe from this list, get a password >> reminder, or change your subscription options, >> visit the list information page at >> https://mail.gna.org/listinfo/relax-devel > > -- > Sébastien Morin, Ph.D. > Postdoctoral Fellow, S. Grzesiek NMR Laboratory > Department of Structural Biology > Biozentrum, Universität Basel > Klingelbergstrasse 70 > 4056 Basel > Switzerland > > _______________________________________________ relax (http://nmr-relax.com) This is the relax-devel mailing list [email protected] To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-devel

