single window mode aviary branch merge. bug 172962, (265962, -266759)

This commit is contained in:
danm-moz%comcast.net 2004-12-07 16:08:38 +00:00
parent 292d92bd2e
commit 18cfa7e94a
3 changed files with 2 additions and 11 deletions

View File

@ -200,8 +200,6 @@ pref("browser.tabs.opentabfor.middleclick", true);
pref("browser.tabs.opentabfor.urlbar", true);
pref("browser.tabs.loadDivertedInBackground", false);
pref("browser.tabs.loadBookmarksInBackground", false);
// XXXben - Hide Single Window mode prefs for 1.0 to avoid crashes (see 266759)
pref("browser.tabs.showSingleWindowModePrefs", true);
// Smart Browsing prefs
pref("browser.related.enabled", true);

View File

@ -76,12 +76,6 @@ function Startup() {
updateWindowLinksBehavior();
parent.hPrefWindow.registerOKCallbackFunc(onOK);
// XXXben - Hide Single Window mode prefs for 1.0 to avoid crashes see 266759
if (parent.hPrefWindow.getPref("bool", "browser.tabs.showSingleWindowModePrefs", false)) {
document.getElementById("tabbedOpenForce").hidden = false;
document.getElementById("tabbedWindowLinks").hidden = false;
}
#ifdef PROVISIONAL_SECURITY_UI
var ocspEntry;
var i;

View File

@ -49,10 +49,9 @@
<radio label="&recentWindowOrTab.label;" value="1"/>
</radiogroup>
</groupbox>
<!-- XXXben hide single window mode prefs for 1.0 to avoid crashes (see 266759) -->
<checkbox id="tabbedOpenForce" label="&forceNewWindowLinks.label;"
oncommand="updateWindowLinksBehavior()" hidden="true"/>
<radiogroup id="tabbedWindowLinks" hidden="true"
oncommand="updateWindowLinksBehavior()"/>
<radiogroup id="tabbedWindowLinks"
prefstring="browser.link.open_newwindow.ui"
style="margin-left: 23px">
<radio label="&sameTabOrWindow.label;" value="1"/>