Thanks in advance
Sebastian Lisken
Components.classes["@mozilla.org/network/io-service;1"]
.getService(Components.interfaces.nsIIOService)
.offline = false;
Sebastian
Yeah, unfortunately, to my knowledge that won't notify the nsIObserverService,
so if you want to play nice with things like the download manager, that would be
a good thing to do.
~ Gijs
PS: writing this close to midnight, greatly tired, so I could very well be wrong
- best check! :-)
Just checked on FF 3. I have two components, one sets offline to false,
the other does get notified.
Sebastian