1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 18:12:26 +01:00

Use the favicon returned by history search.

This commit is contained in:
Kris Maglione
2008-10-05 14:26:32 +00:00
parent 640912b509
commit 9e13dee7dd

View File

@@ -45,11 +45,12 @@ liberator.Completion = function () //{{{
let comp = []; let comp = [];
for (let i in liberator.util.range(0, historyResult.matchCount)) for (let i in liberator.util.range(0, historyResult.matchCount))
comp.push([historyResult.getValueAt(i), comp.push([historyResult.getValueAt(i),
historyResult.getCommentAt(i)]); historyResult.getCommentAt(i),
historyResult.getImageAt(i)]);
//let foo = ["", "IGNORED", "FAILURE", "NOMATCH", "SUCCESS", "NOMATCH_ONGOING", "SUCCESS_ONGOING"]; //let foo = ["", "IGNORED", "FAILURE", "NOMATCH", "SUCCESS", "NOMATCH_ONGOING", "SUCCESS_ONGOING"];
historyCache = comp.map(addIcon); historyCache = comp;
liberator.commandline.setCompletions(completionCache.concat(historyCache)); liberator.commandline.setCompletions(completionCache.concat(historyCache));
}); });