Xulrunner-based app's main window
By glazou on Tuesday 11 April 2006, 17:08 - Mozilla - Permalink
I have added (on trunk for the time being, bsmedberg should add it to 1.8 soon) a new pref allowing to specify the features of the main window of a xulrunner-based app :
pref("toolkit.defaultChromeURI", "chrome://wengophone/content/wengophone.xul"); pref("toolkit.defaultChromeFeatures", "chrome,menubar,toolbar,status,resizable=no,dialog=no");
If this pref is not present, xulrunner defaults to "chrome,dialog=no,all".
Comments
Sounds great. Minor nit though:
"toolkit.defaultChromeFlags" should be defaultChromeFeatures in the comment too:
(from the patch)
* with the flags specified by the pref "toolkit.defaultChromeFlags"