Bug 584478 - Resource alias registered too early [r=mconnor]

This commit is contained in:
Philipp von Weitershausen 2010-08-05 18:31:58 +02:00
parent 481a8d0356
commit 9917708b82

View File

@ -58,10 +58,11 @@ WeaveService.prototype = {
let os = Cc["@mozilla.org/observer-service;1"].
getService(Ci.nsIObserverService);
os.addObserver(this, "final-ui-startup", true);
this.addResourceAlias();
break;
case "final-ui-startup":
this.addResourceAlias();
// Force Weave service to load if it hasn't triggered from overlays
this.timer = Cc["@mozilla.org/timer;1"].createInstance(Ci.nsITimer);
this.timer.initWithCallback({