2001-07-21 05:22:53 +04:00
|
|
|
<menuitem id="releaseUrl" hidden="true" />
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- hide/show elements from pref-navigator.xul -->
|
|
|
|
<!--
|
|
|
|
::::: there is a mapping from the name of the pref to the id of the element in xul
|
|
|
|
::::: browser.toolbars.showbutton.XXX maps to an element with an ID of XXX-button
|
|
|
|
::::: so if you wanted to hide an element with ID of foobar-button you'd have a pref with
|
|
|
|
::::: browser.toolbars.showbutton.foobar
|
|
|
|
::::: you also need to add a default start pref in mozilla tree at:
|
|
|
|
::::: /modules/libpref/src/init/all.js
|
|
|
|
-->
|
|
|
|
<titledbox id="prefShowButtons">
|
|
|
|
<box orient="vertical">
|
|
|
|
<checkbox allowevents="true"
|
|
|
|
id="myNetscapeButton"
|
|
|
|
label="&myNetscapeButton.label;"
|
|
|
|
pref="true"
|
|
|
|
preftype="bool"
|
|
|
|
prefstring="browser.toolbars.showbutton.mynetscape"
|
|
|
|
prefattribute = "checked"/>
|
|
|
|
|
|
|
|
<checkbox allowevents="true"
|
|
|
|
id="net2phoneButton"
|
|
|
|
label="&net2phoneButton.label;"
|
|
|
|
pref="true"
|
|
|
|
preftype="bool"
|
|
|
|
prefstring="browser.toolbars.showbutton.net2phone"
|
|
|
|
prefattribute = "checked"/>
|
|
|
|
|
|
|
|
<checkbox allowevents="true"
|
|
|
|
id="netscapeShopButton"
|
|
|
|
label="&netscapeShopButton.label;"
|
|
|
|
pref="true"
|
|
|
|
preftype="bool"
|
|
|
|
prefstring="browser.toolbars.showbutton.netscapeshop"
|
|
|
|
prefattribute = "checked"/>
|
|
|
|
</box>
|
|
|
|
</titledbox>
|
|
|
|
|
|
|
|
<box id="prefShowButtonsbox">
|
|
|
|
<checkbox allowevents="true"
|
|
|
|
id="netscapeSearchButton"
|
|
|
|
label="&netscapeSearchButton.label;"
|
|
|
|
pref="true"
|
|
|
|
preftype="bool"
|
|
|
|
prefstring="browser.toolbars.showbutton.netscapesearch"
|
|
|
|
prefattribute = "checked"
|
|
|
|
insertafter="searchButton"/>
|
|
|
|
</box>
|
|
|
|
|
|
|
|
</overlay>
|
|
|
|
|