mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +00:00
Bug 105973: s/Observe/observe/
This commit is contained in:
parent
24fcf4ac78
commit
10388d6226
@ -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;
|
||||||
|
@ -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"))
|
||||||
|
Loading…
Reference in New Issue
Block a user