1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 19:44:11 +01:00

Remove 'online' definition from Browser.

This is currently config specific.
This commit is contained in:
Doug Kearns
2009-07-07 22:16:00 +10:00
parent 5e2b5b014b
commit cdb7cfeb35

View File

@@ -81,20 +81,6 @@ function Browser() //{{{
validator: Option.validateCompleter
});
options.add(["online"],
"Set the 'work offline' option",
"boolean", true,
{
setter: function (value)
{
const ioService = services.get("io");
if (ioService.offline == value)
BrowserOffline.toggleOfflineStatus();
return value;
},
getter: function () !services.get("io").offline
});
// only available in FF 3.5
services.add("privateBrowsing", "@mozilla.org/privatebrowsing;1", Ci.nsIPrivateBrowsingService);
if (services.get("privateBrowsing"))