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:
Dan Mills
2008-10-01 00:36:21 -05:00
parent 12e2e51ad8
commit e1aa4cefc4
2 changed files with 7 additions and 3 deletions

View File

@@ -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;
}

View File

@@ -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)