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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user