diff --git a/browser/components/prefwindow/content/pref-advanced.xul b/browser/components/prefwindow/content/pref-advanced.xul
index 291b1ecdaf8b..383f47cc74b6 100644
--- a/browser/components/prefwindow/content/pref-advanced.xul
+++ b/browser/components/prefwindow/content/pref-advanced.xul
@@ -30,7 +30,9 @@
onload="parent.initPanel('chrome://communicator/content/pref/pref-advanced.xul');"
headertitle="&lHeader;">
- All your favorite geeky, advanced prefs will be making a comeback in the near future.
+
+ All your favorite prefs will be making a comeback in the near future.
+
diff --git a/browser/components/prefwindow/content/pref-navigator.js b/browser/components/prefwindow/content/pref-navigator.js
index 8a539f371417..a01959390979 100644
--- a/browser/components/prefwindow/content/pref-navigator.js
+++ b/browser/components/prefwindow/content/pref-navigator.js
@@ -11,40 +11,6 @@ const FILEPICKER_CONTRACTID = "@mozilla.org/filepicker;1";
const WINDOWMEDIATOR_CONTRACTID = "@mozilla.org/appshell/window-mediator;1";
const PREFSERVICE_CONTRACTID = "@mozilla.org/preferences-service;1";
-function Startup()
-{
- var clearHistButton = document.getElementById("browserClearHistory");
- try {
- var urlBarHist = Components.classes["@mozilla.org/browser/urlbarhistory;1"]
- .getService(Components.interfaces.nsIUrlbarHistory);
- var isBtnLocked = parent.hPrefWindow.getPrefIsLocked(clearHistButton.getAttribute("prefstring"));
- var globalHistory = Components.classes["@mozilla.org/browser/global-history;1"]
- .getService(Components.interfaces.nsIBrowserHistory);
- clearHistButton.disabled = ( urlBarHist.count == 0 && globalHistory.count == 0) || isBtnLocked;
- }
- catch(ex) {
- }
-}
-
-function selectFile()
-{
- var fp = Components.classes[FILEPICKER_CONTRACTID]
- .createInstance(nsIFilePicker);
-
- var prefutilitiesBundle = document.getElementById("bundle_prefutilities");
- var title = prefutilitiesBundle.getString("choosehomepage");
- fp.init(window, title, nsIFilePicker.modeOpen);
- fp.appendFilters(nsIFilePicker.filterAll | nsIFilePicker.filterText |
- nsIFilePicker.filterXML | nsIFilePicker.filterHTML |
- nsIFilePicker.filterImages);
-
- var ret = fp.show();
- if (ret == nsIFilePicker.returnOK) {
- var folderField = document.getElementById("browserStartupHomepage");
- folderField.value = fp.fileURL.spec;
- }
-}
-
function setHomePageToCurrentPage()
{
var windowManager = Components.classes[WINDOWMEDIATOR_CONTRACTID]
@@ -71,13 +37,3 @@ function setHomePageToDefaultPage()
var homePageField = document.getElementById("browserStartupHomepage");
homePageField.value = url;
}
-
-function prefClearGlobalHistory()
-{
- var globalHistory = Components.classes["@mozilla.org/browser/global-history;1"]
- .getService(Components.interfaces.nsIBrowserHistory);
- globalHistory.removeAllPages();
- var urlBarHistory = Components.classes["@mozilla.org/browser/urlbarhistory;1"]
- .getService(Components.interfaces.nsIUrlbarHistory);
- urlBarHistory.clearHistory();
-}
diff --git a/browser/components/prefwindow/content/pref-navigator.xul b/browser/components/prefwindow/content/pref-navigator.xul
index 7db6e368a6f1..e20f41403d11 100644
--- a/browser/components/prefwindow/content/pref-navigator.xul
+++ b/browser/components/prefwindow/content/pref-navigator.xul
@@ -36,23 +36,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -70,16 +57,13 @@
oncommand="setHomePageToCurrentPage();"
id="browserUseCurrent"
prefstring="pref.browser.homepage.disable_button.current_page"/>
-
-
+
+
diff --git a/browser/components/prefwindow/content/pref-themes.xul b/browser/components/prefwindow/content/pref-themes.xul
index 4b3b14d93116..bddf8b3d3fd6 100644
--- a/browser/components/prefwindow/content/pref-themes.xul
+++ b/browser/components/prefwindow/content/pref-themes.xul
@@ -43,7 +43,7 @@
-
+
&skinIntro.label;
diff --git a/browser/components/prefwindow/content/win/platformPrefOverlay.xul b/browser/components/prefwindow/content/win/platformPrefOverlay.xul
index c47c233c94f1..f989a286fe4e 100644
--- a/browser/components/prefwindow/content/win/platformPrefOverlay.xul
+++ b/browser/components/prefwindow/content/win/platformPrefOverlay.xul
@@ -34,58 +34,14 @@
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
- &makeDefaultText;
-
-
-
-
-
-
-
- &alreadyDefaultText;
-
-
-
-
-
-
-
- &defaultPendingText;
-
-
-
-
-
-
-
+
+
+
-