Bug 445788 - "distribution.ini fails to set the correct RSS Feed handler Order" (Load feed handler prefs after distro customizations) [r=gavin]
This commit is contained in:
@@ -882,10 +882,10 @@ WebContentConverterRegistrar.prototype = {
|
||||
getService(Ci.nsIObserverService);
|
||||
switch (topic) {
|
||||
case "app-startup":
|
||||
os.addObserver(this, "profile-after-change", false);
|
||||
os.addObserver(this, "browser-ui-startup-complete", false);
|
||||
break;
|
||||
case "profile-after-change":
|
||||
os.removeObserver(this, "profile-after-change");
|
||||
case "browser-ui-startup-complete":
|
||||
os.removeObserver(this, "browser-ui-startup-complete");
|
||||
this._init();
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -223,6 +223,10 @@ BrowserGlue.prototype = {
|
||||
|
||||
// handle any UI migration
|
||||
this._migrateUI();
|
||||
|
||||
const osvr = Cc['@mozilla.org/observer-service;1'].
|
||||
getService(Ci.nsIObserverService);
|
||||
osvr.notifyObservers(null, "browser-ui-startup-complete", "");
|
||||
},
|
||||
|
||||
// profile shutdown handler (contains profile cleanup routines)
|
||||
|
||||
Reference in New Issue
Block a user