mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 03:24:11 +01:00
Add the values into 'activate' option.
This commit is contained in:
@@ -203,8 +203,7 @@ const Browser = Module("browser", {
|
|||||||
"Show progress of current downloads",
|
"Show progress of current downloads",
|
||||||
function () {
|
function () {
|
||||||
liberator.open("chrome://mozapps/content/downloads/downloads.xul",
|
liberator.open("chrome://mozapps/content/downloads/downloads.xul",
|
||||||
options.get("newtab").has("all", "downloads")
|
{ from: "downloads"});
|
||||||
? liberator.NEW_TAB : liberator.CURRENT_TAB);
|
|
||||||
},
|
},
|
||||||
{ argCount: "0" });
|
{ argCount: "0" });
|
||||||
|
|
||||||
|
|||||||
@@ -1060,9 +1060,13 @@ const Tabs = Module("tabs", {
|
|||||||
if (config.hasTabbrowser) {
|
if (config.hasTabbrowser) {
|
||||||
options.add(["activate", "act"],
|
options.add(["activate", "act"],
|
||||||
"Define when tabs are automatically activated",
|
"Define when tabs are automatically activated",
|
||||||
"stringlist", "homepage,quickmark,tabopen,paste",
|
"stringlist", "addons,downloads,extoptions,help,homepage,quickmark,tabopen,paste",
|
||||||
{
|
{
|
||||||
completer: function (context) [
|
completer: function (context) [
|
||||||
|
["addons", ":addo[ns] command"],
|
||||||
|
["downloads", ":downl[oads] command"],
|
||||||
|
["extoptions", ":exto[ptions] command"],
|
||||||
|
["help", ":h[elp] command"],
|
||||||
["homepage", "gH mapping"],
|
["homepage", "gH mapping"],
|
||||||
["quickmark", "go and gn mappings"],
|
["quickmark", "go and gn mappings"],
|
||||||
["tabopen", ":tabopen[!] command"],
|
["tabopen", ":tabopen[!] command"],
|
||||||
|
|||||||
@@ -275,11 +275,15 @@
|
|||||||
<tags>'act' 'activate'</tags>
|
<tags>'act' 'activate'</tags>
|
||||||
<spec>'activate' 'act'</spec>
|
<spec>'activate' 'act'</spec>
|
||||||
<type>stringlist</type>
|
<type>stringlist</type>
|
||||||
<default>homepage,quickmark,tabopen,paste</default>
|
<default>addons,downloads,extensions,help,homepage,quickmark,tabopen,paste</default>
|
||||||
<description>
|
<description>
|
||||||
<p>Define when tabs are automatically activated. Available items:</p>
|
<p>Define when tabs are automatically activated. Available items:</p>
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
|
<dt>addons</dt> <dd><ex>:addo[ns]</ex> command</dd>
|
||||||
|
<dt>downloads</dt> <dd><ex>:downl[oads]</ex> command</dd>
|
||||||
|
<dt>extoptions</dt> <dd><ex>:exto[ptions]</ex> command</dd>
|
||||||
|
<dt>help</dt> <dd><ex>:h[elp]</ex> command</dd>
|
||||||
<dt>homepage</dt> <dd><k>gH</k> mapping</dd>
|
<dt>homepage</dt> <dd><k>gH</k> mapping</dd>
|
||||||
<dt>quickmark</dt> <dd><k>go</k> and <k>gn</k> mappings</dd>
|
<dt>quickmark</dt> <dd><k>go</k> and <k>gn</k> mappings</dd>
|
||||||
<dt>tabopen</dt> <dd><ex>:tabopen[!]</ex> command</dd>
|
<dt>tabopen</dt> <dd><ex>:tabopen[!]</ex> command</dd>
|
||||||
|
|||||||
Reference in New Issue
Block a user