mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-14 15:15:46 +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",
|
||||
function () {
|
||||
liberator.open("chrome://mozapps/content/downloads/downloads.xul",
|
||||
options.get("newtab").has("all", "downloads")
|
||||
? liberator.NEW_TAB : liberator.CURRENT_TAB);
|
||||
{ from: "downloads"});
|
||||
},
|
||||
{ argCount: "0" });
|
||||
|
||||
|
||||
@@ -1060,9 +1060,13 @@ const Tabs = Module("tabs", {
|
||||
if (config.hasTabbrowser) {
|
||||
options.add(["activate", "act"],
|
||||
"Define when tabs are automatically activated",
|
||||
"stringlist", "homepage,quickmark,tabopen,paste",
|
||||
"stringlist", "addons,downloads,extoptions,help,homepage,quickmark,tabopen,paste",
|
||||
{
|
||||
completer: function (context) [
|
||||
["addons", ":addo[ns] command"],
|
||||
["downloads", ":downl[oads] command"],
|
||||
["extoptions", ":exto[ptions] command"],
|
||||
["help", ":h[elp] command"],
|
||||
["homepage", "gH mapping"],
|
||||
["quickmark", "go and gn mappings"],
|
||||
["tabopen", ":tabopen[!] command"],
|
||||
|
||||
Reference in New Issue
Block a user