mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 05:57:58 +01:00
* fixed some muttator warnings
* temp. moved "gm" to "g." since "gm" is taken in muttator already
This commit is contained in:
1
Donators
1
Donators
@@ -3,6 +3,7 @@
|
|||||||
Also drop me a note, if you want the donated amount to be displayed.
|
Also drop me a note, if you want the donated amount to be displayed.
|
||||||
|
|
||||||
2008:
|
2008:
|
||||||
|
* Mats Vestin
|
||||||
* Berni Joss
|
* Berni Joss
|
||||||
* Peter Rufer
|
* Peter Rufer
|
||||||
* Yann Le Du
|
* Yann Le Du
|
||||||
|
|||||||
@@ -497,7 +497,7 @@ function Events() //{{{
|
|||||||
let title = doc.title;
|
let title = doc.title;
|
||||||
|
|
||||||
// update history
|
// update history
|
||||||
if (url && history)
|
if (url && liberator.has("history"))
|
||||||
history.add(url, title);
|
history.add(url, title);
|
||||||
|
|
||||||
// mark the buffer as loaded, we can't use buffer.loaded
|
// mark the buffer as loaded, we can't use buffer.loaded
|
||||||
|
|||||||
@@ -91,9 +91,14 @@ const liberator = (function () //{{{
|
|||||||
let classes = tabopts.filter(function (o) value.indexOf(o[0]) == -1)
|
let classes = tabopts.filter(function (o) value.indexOf(o[0]) == -1)
|
||||||
.map(function (a) a[3])
|
.map(function (a) a[3])
|
||||||
if (!classes.length)
|
if (!classes.length)
|
||||||
|
{
|
||||||
storage.styles.removeSheet("taboptions", null, null, null, true);
|
storage.styles.removeSheet("taboptions", null, null, null, true);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
storage.styles.addSheet("taboptions", "chrome://*", classes.join(",") + "{ display: none; }", true, true);
|
storage.styles.addSheet("taboptions", "chrome://*", classes.join(",") + "{ display: none; }", true, true);
|
||||||
|
statusline.updateTabCount();
|
||||||
|
}
|
||||||
|
|
||||||
return value;
|
return value;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -456,7 +456,7 @@ function CommandLine() //{{{
|
|||||||
// FIXME: Should be "g<" but that doesn't work unless it has a non-null
|
// FIXME: Should be "g<" but that doesn't work unless it has a non-null
|
||||||
// rhs, getCandidates broken?
|
// rhs, getCandidates broken?
|
||||||
mappings.add([modes.NORMAL],
|
mappings.add([modes.NORMAL],
|
||||||
["gm"], "Redisplay the last command output",
|
["g."], "Redisplay the last command output",
|
||||||
function ()
|
function ()
|
||||||
{
|
{
|
||||||
if (lastMowOutput)
|
if (lastMowOutput)
|
||||||
@@ -1615,8 +1615,14 @@ function StatusLine() //{{{
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// update the ordinal which is used for numbered tabs only when the user has
|
||||||
|
// tab numbers set, and the host application supports it
|
||||||
|
if (config.hostApplication == "Firefox" &&
|
||||||
|
(options.get("guioptions").has("n") || options.get("guioptions").has("N")))
|
||||||
|
{
|
||||||
for (let [i, tab] in Iterator(Array.slice(getBrowser().mTabs)))
|
for (let [i, tab] in Iterator(Array.slice(getBrowser().mTabs)))
|
||||||
tab.setAttribute("ordinal", i + 1);
|
tab.setAttribute("ordinal", i + 1);
|
||||||
|
}
|
||||||
|
|
||||||
if (!currentIndex || typeof currentIndex != "number")
|
if (!currentIndex || typeof currentIndex != "number")
|
||||||
currentIndex = tabs.index() + 1;
|
currentIndex = tabs.index() + 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user