<Glazblog/>

Xulrunner-based app's main window

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

1. On Tuesday 11 April 2006, 10:20 by noname

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"