Bug 105973: s/Observe/observe/

This commit is contained in:
jaggernaut%netscape.com 2006-09-14 06:00:33 +00:00
parent 24fcf4ac78
commit 10388d6226
2 changed files with 3 additions and 3 deletions

View File

@ -214,7 +214,7 @@ function nsButtonPrefListener()
nsButtonPrefListener.prototype = nsButtonPrefListener.prototype =
{ {
domain: "browser.toolbars.showbutton", domain: "browser.toolbars.showbutton",
Observe: function(subject, topic, prefName) observe: function(subject, topic, prefName)
{ {
// verify that we're changing a button pref // verify that we're changing a button pref
if (topic != "nsPref:changed") return; if (topic != "nsPref:changed") return;

View File

@ -26,7 +26,7 @@
({ ({
urlbar: this, urlbar: this,
Observe: function(aObserver, aBlah, aPref) { observe: function(aObserver, aBlah, aPref) {
if (!aPref.indexOf("browser.urlbar")) if (!aPref.indexOf("browser.urlbar"))
this.urlbar.updatePref(aPref); this.urlbar.updatePref(aPref);
} }
@ -116,7 +116,7 @@
({ ({
resultsPopup: this, resultsPopup: this,
Observe: function(aObserver, aBlah, aPref) { observe: function(aObserver, aBlah, aPref) {
if (!aPref.indexOf("browser.search")) if (!aPref.indexOf("browser.search"))
this.resultsPopup.updateEngines(); this.resultsPopup.updateEngines();
else if (!aPref.indexOf("browser.urlbar")) else if (!aPref.indexOf("browser.urlbar"))