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

Add an 'online' option to Muttator.

Also changed Vimperator's 'offline' to make use of Firefox's
BrowserOffline.
This commit is contained in:
Doug Kearns
2009-06-14 02:14:03 +10:00
parent c3ef4d18da
commit dbe348687e
4 changed files with 34 additions and 6 deletions

View File

@@ -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: