1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 04:07:59 +01:00

Fix links in :ls and remove some old cruft as a result.

This commit is contained in:
Kris Maglione
2010-09-27 17:28:45 -04:00
parent e238c1d361
commit 53b83e378a
8 changed files with 24 additions and 18 deletions

View File

@@ -1328,7 +1328,7 @@ const Buffer = Module("buffer", {
context.process[1] = function (item, text) template.bookmarkDescription(item, template.highlightFilter(text, this.filter));
context.anchored = false;
context.keys = { text: "text", description: "url", icon: "icon" };
context.keys = { text: "text", description: "url", icon: "icon", id: "id", command: function () "tabs.select" };
context.compare = CompletionContext.Sort.number;
context.filters = [CompletionContext.Filter.textDescription];
@@ -1349,6 +1349,7 @@ const Buffer = Module("buffer", {
return {
text: [i + ": " + (tab.label || "(Untitled)"), i + ": " + url],
id: i - 1,
url: url,
indicator: indicator,
icon: tab.image || DEFAULT_FAVICON