From 6f486835c14c9e663c226dd5704d45bf1f8b57fd Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Thu, 23 Feb 2012 13:55:04 +0100 Subject: [PATCH] bug 643172 - Some searchbar cleanup found by SeaMonkey reviews - whitespace and nits, r=gavin --HG-- extra : transplant_source : 3Q%B9tgA%B8e%A8G%BEc%3B%1D%16%3E%9C%FA%F1%8C --- browser/base/content/browser.js | 1 - browser/components/search/content/search.xml | 16 +++++++--------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 3e3a518b7b69..574e6675c74a 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -3573,7 +3573,6 @@ const BrowserSearch = { loadAddEngines: function BrowserSearch_loadAddEngines() { var newWindowPref = gPrefService.getIntPref("browser.link.open_newwindow"); var where = newWindowPref == 3 ? "tab" : "window"; - var regionBundle = document.getElementById("bundle_browser_region"); var searchEnginesURL = formatURL("browser.search.searchEnginesURL", true); openUILinkIn(searchEnginesURL, where); } diff --git a/browser/components/search/content/search.xml b/browser/components/search/content/search.xml index c732b16ba48f..acee6027dd9e 100644 --- a/browser/components/search/content/search.xml +++ b/browser/components/search/content/search.xml @@ -50,9 +50,9 @@ ]> + xmlns="http://www.mozilla.org/xbl" + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:xbl="http://www.mozilla.org/xbl"> @@ -96,13 +96,12 @@ + tooltiptext="&searchEndCap.label;"/> - @@ -444,7 +443,7 @@ = 0 && newIndex < this.engines.length) this.currentEngine = this.engines[newIndex]; @@ -495,7 +494,6 @@ openUILinkIn(submission.uri.spec, aWhere, null, submission.postData); ]]> - @@ -719,7 +717,7 @@ - +