From d77b42e4fb7072ec79f1935e44217829eab645da Mon Sep 17 00:00:00 2001 From: "hyatt%mozilla.org" Date: Sun, 10 Aug 2003 08:13:47 +0000 Subject: [PATCH] Add some notes about persistence of alt sheet choices. git-svn-id: svn://10.0.0.236/trunk@145839 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/browser/base/content/browser.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/mozilla/browser/base/content/browser.js b/mozilla/browser/base/content/browser.js index 8efa5c87fcf..37f58bda2b6 100644 --- a/mozilla/browser/base/content/browser.js +++ b/mozilla/browser/base/content/browser.js @@ -4431,6 +4431,9 @@ function stylesheetSwitchAll(frameset, title) { for (var i = 0; i < frameset.frames.length; i++) { stylesheetSwitchAll(frameset.frames[i], title); } + + // FIXME: Persist the alternate sheet chosen as both a default for this URL and + // as the default for the immediate enclosing directory. } function updatePageTheme(evt) @@ -4455,15 +4458,14 @@ function updatePageTheme(evt) if (hasThemes) { gPageThemeButton.setAttribute("themes", "true"); - //if (gPrefService && gPrefService.getBoolPref("privacy.popups.firstTime")) { - // displayPageReportFirstTime(); - - // Now set the pref. - //gPrefService.setBoolPref("privacy.popups.firstTime", "false"); - // } + // FIXME: Do a first-time explanation of page themes here perhaps? + // Avoid for now since Firebird's default home page has an alt sheet. } else gPageThemeButton.removeAttribute("themes"); + + // FIXME: Read in the persisted alt sheet data and auto-select the correct + // alt sheet. } /* End of the Page Theme functions */