Bug 445476 – Need a pref to disable the new ctrl+tab preview panel. r=gavin

This commit is contained in:
Dão Gottwald 2008-07-19 11:19:59 +02:00
parent 279aa88357
commit aa81415f93
2 changed files with 3 additions and 1 deletions

View File

@ -336,6 +336,7 @@ pref("browser.tabs.closeButtons", 1);
// false return to the adjacent tab (old default)
pref("browser.tabs.selectOwnerOnClose", true);
pref("browser.ctrlTab.mostRecentlyUsed", true);
pref("browser.ctrlTab.previewsCount", 3);
pref("browser.ctrlTab.smoothScroll", true);

View File

@ -1075,7 +1075,8 @@ function delayedStartup()
gBrowser.addEventListener("command", BrowserOnCommand, false);
tabPreviews.init();
ctrlTab.init();
if (gPrefService.getBoolPref("browser.ctrlTab.mostRecentlyUsed"))
ctrlTab.init();
// Delayed initialization of the livemarks update timer.
// Livemark updates don't need to start until after bookmark UI