diff options
author | Doug Kearns <dougkearns@gmail.com> | 2009-06-14 02:14:03 +1000 |
---|---|---|
committer | Doug Kearns <dougkearns@gmail.com> | 2009-06-14 02:14:03 +1000 |
commit | dbe348687eaf95049a2dfe30807c5fc7d2250a2f (patch) | |
tree | a7903714cf3c498fe478d2f35fcbee560e3d0457 /vimperator | |
parent | c3ef4d18da08031e44b28fa6e2e83fcf7010e837 (diff) | |
download | pentadactyl-dbe348687eaf95049a2dfe30807c5fc7d2250a2f.tar.gz |
Add an 'online' option to Muttator.
Also changed Vimperator's 'offline' to make use of Firefox's
BrowserOffline.
Diffstat (limited to 'vimperator')
-rw-r--r-- | vimperator/content/config.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/vimperator/content/config.js b/vimperator/content/config.js index 713199ec..65ea883f 100644 --- a/vimperator/content/config.js +++ b/vimperator/content/config.js @@ -197,7 +197,7 @@ const config = { //{{{ delete img; }; - //////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////////////////////////}}} ////////////////////// MAPPINGS //////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////{{{ @@ -470,8 +470,8 @@ const config = { //{{{ setter: function (value) { const ioService = services.get("io"); - ioService.offline = !value; - gPrefService.setBoolPref("browser.offline", ioService.offline); + if (ioService.offline == value) + BrowserOffline.toggleOfflineStatus(); return value; }, getter: function () !services.get("io").offline @@ -504,8 +504,9 @@ const config = { //{{{ options.add(["urlseparator"], "Set the separator regexp used to separate multiple URL args", "string", ",\\s"); + + //}}} } - //}}} }; //}}} // vim: set fdm=marker sw=4 ts=4 et: |