mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 11:15:34 +00:00
Bug 105973: s/Observe/observe/
This commit is contained in:
parent
3e278e4913
commit
1ab288a5dc
@ -213,7 +213,7 @@ function nsButtonPrefListener()
|
||||
nsButtonPrefListener.prototype =
|
||||
{
|
||||
domain: "browser.toolbars.showbutton",
|
||||
Observe: function(subject, topic, prefName)
|
||||
observe: function(subject, topic, prefName)
|
||||
{
|
||||
// verify that we're changing a button pref
|
||||
if (topic != "nsPref:changed") return;
|
||||
|
@ -26,7 +26,7 @@
|
||||
({
|
||||
urlbar: this,
|
||||
|
||||
Observe: function(aObserver, aBlah, aPref) {
|
||||
observe: function(aObserver, aBlah, aPref) {
|
||||
if (!aPref.indexOf("browser.urlbar"))
|
||||
this.urlbar.updatePref(aPref);
|
||||
}
|
||||
@ -116,7 +116,7 @@
|
||||
({
|
||||
resultsPopup: this,
|
||||
|
||||
Observe: function(aObserver, aBlah, aPref) {
|
||||
observe: function(aObserver, aBlah, aPref) {
|
||||
if (!aPref.indexOf("browser.search"))
|
||||
this.resultsPopup.updateEngines();
|
||||
else if (!aPref.indexOf("browser.urlbar"))
|
||||
|
Loading…
Reference in New Issue
Block a user