Backing out patch for bug 24651 until we can make initial button state honor preferences. a=tor

This commit is contained in:
caillon%returnzero.com 2002-04-09 00:45:39 +00:00
parent 8534ae1d76
commit 7b66ac993f
9 changed files with 1 additions and 41 deletions

View File

@ -105,7 +105,6 @@ pref("browser.chrome.toolbar_tips", true);
pref("browser.chrome.toolbar_style", 2);
pref("browser.toolbars.showbutton.bookmarks", true);
pref("browser.toolbars.showbutton.clear", false);
pref("browser.toolbars.showbutton.go", false);
pref("browser.toolbars.showbutton.home", true);
pref("browser.toolbars.showbutton.mynetscape", true);

View File

@ -69,9 +69,6 @@ pref("clipboard.autocopy", true);
pref("browser.urlbar.clickSelectsAll", false);
// clearbutton default on
pref("browser.toolbars.showbutton.clear", true);
// override double-click word selection behavior.
pref("layout.word_select.stop_at_punctuation", false);

View File

@ -130,10 +130,6 @@
-moz-image-region: rect(0px 92px 21px 69px) !important;
}
#clear-button {
list-style-image: url("chrome://global/skin/icons/close-button.gif");
}
#fullscreen-exit-button {
list-style-image: none;
}

View File

@ -386,24 +386,6 @@
height: 16px;
}
#clear-button {
list-style-image: url("chrome://global/skin/icons/close.gif");
}
#clear-button:hover {
list-style-image: url("chrome://global/skin/icons/close-hov.gif");
border: none;
margin-left: 1px;
margin-right: 1px;
}
#clear-button:hover:active {
list-style-image: url("chrome://global/skin/icons/close-act.gif");
border: none;
margin-left: 1px;
margin-right: 1px;
}
#page-proxy-deck {
cursor: grab;
margin-right: 4px;

View File

@ -601,12 +601,6 @@ function BrowserStop()
}
}
function clearLocationBar()
{
gURLBar.value = "";
gURLBar.focus();
}
function BrowserReload()
{
const reloadFlags = nsIWebNavigation.LOAD_FLAGS_NONE;

View File

@ -155,9 +155,6 @@ Contributor(s): ______________________________________. -->
</hbox>
<hbox id="nav-bar-inner" flex="1">
<toolbarbutton id="clear-button" oncommand="clearLocationBar();"
tooltiptext="&clearButton.tooltip;"
class="toolbar-button"/>
<textbox id="urlbar" class="chromeclass-location" flex="1"
type="autocomplete" searchSessions="history"
timeout="50" maxrows="6" alwaysopenpopup="true"

View File

@ -188,7 +188,6 @@
<!ENTITY reloadButton.tooltip "Reload current page">
<!ENTITY stopButton.label "Stop">
<!ENTITY stopButton.tooltip "Stop loading this page">
<!ENTITY clearButton.tooltip "Clear the location bar">
<!ENTITY searchButton.label "Search">
<!ENTITY searchButton.tooltip "Type a word in the field to the left, then click Search">
<!ENTITY goButton.label "Go">

View File

@ -36,7 +36,7 @@
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["startupPage", "browserStartupHomepage",
"bookmarksButton", "clearButton", "goButton",
"bookmarksButton", "goButton",
"homeButton", "printButton",
"searchButton" ];
]]>
@ -101,9 +101,6 @@
<checkbox id="printButton"
label="&printButton.label;"
prefstring="browser.toolbars.showbutton.print"/>
<checkbox id="clearButton"
label="&clearButton.label;"
prefstring="browser.toolbars.showbutton.clear"/>
</vbox>
<vbox id="prefShowButtonBox">

View File

@ -20,7 +20,6 @@
<!ENTITY toolbarIntro.label "Select the buttons you want to see in the toolbars">
<!ENTITY bookmarksButton.label "Bookmarks">
<!ENTITY clearButton.label "Clear">
<!ENTITY goButton.label "Go">
<!ENTITY homeButton.label "Home">
<!ENTITY printButton.label "Print">