I had a chat with Standard8 on IRC and he pointed me to this file http://mxr.mozilla.org/comm-central/source/mailnews/base/src/nsMessengerOSXIntegration.mm
He said the code in the nsMessengerOSXIntegration::Init() section (second-half) is the stuff to be looking at.
Ruben could you see if you could relate this back to Javascript?
I had a chat with Standard8 on IRC and he pointed me to this file mxr.mozilla. org/comm- central/ source/ mailnews/ base/src/ nsMessengerOSXI ntegration. mm
http://
He said the code in the nsMessengerOSXI ntegration: :Init() section (second-half) is the stuff to be looking at.
Ruben could you see if you could relate this back to Javascript?