mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 20:27:58 +01:00
use an unordered list rather than a table in the 'activate' help
This commit is contained in:
@@ -281,11 +281,11 @@ function Options() //{{{
|
||||
{
|
||||
short_help: "Define when tabs are automatically activated",
|
||||
help: "Available items:<br/>" +
|
||||
"<table>" +
|
||||
"<tr><td><b>quickmark</b>:</td><td><code class=\"mapping\">go</code> and <code class=\"mapping\">gn</code> mappings</td>" +
|
||||
"<tr><td><b>tabopen</b>: </td><td><code class=\"command\">:tabopen[!]</code> command</td>" +
|
||||
"<tr><td><b>paste</b>: </td><td><code class=\"mapping\">P</code> and <code class=\"mapping\">gP</code> mappings</td>" +
|
||||
"</table>",
|
||||
"<ul>" +
|
||||
"<li><b>quickmark</b>: <code class=\"mapping\">go</code> and <code class=\"mapping\">gn</code> mappings</li>" +
|
||||
"<li><b>tabopen</b>: <code class=\"command\">:tabopen[!]</code> command</li>" +
|
||||
"<li><b>paste</b>: <code class=\"mapping\">P</code> and <code class=\"mapping\">gP</code> mappings</li>" +
|
||||
"</ul>",
|
||||
default_value: "quickmark,tabopen,paste"
|
||||
}
|
||||
));
|
||||
|
||||
@@ -376,21 +376,21 @@ const vimperator = (function() //{{{
|
||||
{
|
||||
const nsIAppStartup = Components.interfaces.nsIAppStartup;
|
||||
|
||||
// Notify all windows that an application quit has been requested.
|
||||
// notify all windows that an application quit has been requested.
|
||||
var os = Components.classes["@mozilla.org/observer-service;1"]
|
||||
.getService(Components.interfaces.nsIObserverService);
|
||||
var cancelQuit = Components.classes["@mozilla.org/supports-PRBool;1"]
|
||||
.createInstance(Components.interfaces.nsISupportsPRBool);
|
||||
os.notifyObservers(cancelQuit, "quit-application-requested", null);
|
||||
|
||||
// Something aborted the quit process.
|
||||
// something aborted the quit process.
|
||||
if (cancelQuit.data)
|
||||
return;
|
||||
|
||||
// Notify all windows that an application quit has been granted.
|
||||
// notify all windows that an application quit has been granted.
|
||||
os.notifyObservers(null, "quit-application-granted", null);
|
||||
|
||||
// Enumerate all windows and call shutdown handlers
|
||||
// enumerate all windows and call shutdown handlers
|
||||
var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]
|
||||
.getService(Components.interfaces.nsIWindowMediator);
|
||||
var windows = wm.getEnumerator(null);
|
||||
@@ -652,8 +652,8 @@ const vimperator = (function() //{{{
|
||||
// firefox preferences which we need to be changed to work well with vimperator
|
||||
Options.setFirefoxPref("browser.startup.page", 3); // start with saved session
|
||||
|
||||
// Finally, read a ~/.vimperatorrc
|
||||
// Make sourcing asynchronous, otherwise commands that open new tabs won't work
|
||||
// finally, read a ~/.vimperatorrc
|
||||
// make sourcing asynchronous, otherwise commands that open new tabs won't work
|
||||
setTimeout(function() {
|
||||
vimperator.source("~/.vimperatorrc", false);
|
||||
vimperator.log("~/.vimperatorrc sourced", 1);
|
||||
|
||||
Reference in New Issue
Block a user