mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 21:17:58 +01:00
Undo certain parts from the unfortunate "service" commit, to unbreak Muttator. @Kris: Please try not to
commit unconnected things at once, as it's much harder to revert such commits :( I'll have to revert the service -> Cc/Ci manually now, as I got lots of conflicts in reverting, and if i didn't, i wouldn't want to undo the other parts of that commit (like VIMPERATOR_RUNTIME or the added comments)
This commit is contained in:
@@ -427,13 +427,15 @@ const config = { //{{{
|
||||
{
|
||||
setter: function (value)
|
||||
{
|
||||
service.io.offline = !value;
|
||||
gPrefService.setBoolPref("browser.offline", service.io.offline);
|
||||
const ioService = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService2);
|
||||
ioService.offline = !value;
|
||||
gPrefService.setBoolPref("browser.offline", ioService.offline);
|
||||
return value;
|
||||
},
|
||||
getter: function ()
|
||||
{
|
||||
return service.io.offline;
|
||||
const ioService = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService2);
|
||||
return ioService.offline;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user