1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 07:02:38 +01:00

More completion stuff. And move vimperator.png to chrome://liberator2/content/ -- long story.

This commit is contained in:
Kris Maglione
2008-11-24 10:10:49 +00:00
parent b2a87273f8
commit 9b14f6e331
14 changed files with 376 additions and 330 deletions

View File

@@ -32,10 +32,10 @@ function Highlights(name, store, serial)
CompItem
CompItem[selected] background: yellow;
CompItem>* padding: 0 .5ex;
CompIcon width: 16px; min-width: 16px;
CompIcon width: 16px; min-width: 16px; display: inline-block; margin-right: .5ex;
CompIcon>img max-width: 16px; max-height: 16px; vertical-align: middle;
CompResult width: 45%; overflow: hidden;
CompDesc color: gray;
CompDesc color: gray; width: 50%;
Indicator color: blue;
Filter font-weight: bold;
@@ -438,8 +438,7 @@ liberator.registerObserver("load_commands", function ()
compl.push([content.location.href, "Current URL"]);
}
catch (e) {}
compl = compl.concat([[s, ""] for each (s in styles.sites)])
context.items = completion.filter(compl, args.arguments[0]);
context.completions = compl.concat([[s, ""] for each (s in styles.sites)])
}
},
hereDoc: true,