mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 21:55:31 +00:00
58 lines
2.2 KiB
Plaintext
58 lines
2.2 KiB
Plaintext
<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
|
|
::::: Hidden buttons should use entity's in the dtd files.
|
|
-->
|
|
<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"
|
|
hidden="&hideNet2phoneButton;"/>
|
|
|
|
<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>
|
|
|