2001-10-02 20:52:27 +04:00
|
|
|
<menuitem id="releaseUrl" hidden="true" />
|
2001-07-21 05:22:53 +04:00
|
|
|
</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
|
2001-10-02 20:52:27 +04:00
|
|
|
::::: Hidden buttons should use entity's in the dtd files.
|
2001-07-21 05:22:53 +04:00
|
|
|
-->
|
|
|
|
<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"
|
2001-10-02 20:52:27 +04:00
|
|
|
prefattribute = "checked"
|
|
|
|
hidden="&hideNet2phoneButton;"/>
|
2001-07-21 05:22:53 +04:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|