mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
Set Weave component back to using the 'sessionstore-windows-restored' event. Will use a different way of intializing on Fennec.
This commit is contained in:
parent
b05fc7c819
commit
9406c1df6c
@ -53,9 +53,10 @@ WeaveService.prototype = {
|
||||
getService(Components.interfaces.nsIObserverService);
|
||||
os.addObserver(this, "profile-after-change", true);
|
||||
break;
|
||||
/* The events "final-ui-startup" and "sessionstore-windows-restored"
|
||||
* would be better but unfortunately neither one exists in Fennec. */
|
||||
case "profile-after-change":
|
||||
/* The following event doesn't exist on Fennec; for Fennec loading, see
|
||||
* fennec-weave-overlay.js.
|
||||
*/
|
||||
case "sessionstore-windows-restored":
|
||||
Components.utils.import("resource://weave/service.js");
|
||||
Weave.Service.onStartup();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user