I thought I was just being stupid, but after some digging I found out that this is a much trickier issue than it sounds like.
First of all, Apple doesn't have a way to make a dock icon optional via a user preference - it needs to be set when the application is written. See
http://codesorcery.net/2008/02/06/featu ... y-to-do-it for more details and some work arounds. http://www.cocoadev.com/index.pl?TransformProcessType disagrees, and says that there is an API in 10.3+. I've not looked further to work out which is correct.
Second, if you do turn the dock icon off, that also disables access to the menus (you can't switch to the application, so the menu bar keeps the menu for the old application).
If I get round to it I'll look into this further an write a patch to solve one or other of these problems. In the mean time, it is possible as a user to disable the dock icon, if you don't mind losing the menu bar (the icon will also come back next time you update ted). To remove the icon, you need to:
- Find the ted in Finder
- Right click / option click and choose 'Show Package Contents'
- Open the 'Contents' folder, right client on 'Info.plist' and choose 'Open With' > 'Property List Editor'
- Expand 'Root', then click the 'New Child' button
- Call the child 'LSUIElement', set the class to 'String' and the value to '1'
- Open/restart ted
To turn the icon back on, just go to the same place and either delete the item or set the value to '0'.