1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 22:27:59 +01:00

changed nohlsearch to the new spec

This commit is contained in:
Martin Stubenschrott
2007-05-25 11:13:52 +00:00
parent b02e2c3494
commit 1568325552
2 changed files with 3 additions and 5 deletions

View File

@@ -51,7 +51,6 @@ var g_commands = [/*{{{*/
["addo[ns]"], ["addo[ns]"],
"Show available Browser Extensions and Themes", "Show available Browser Extensions and Themes",
"You can add/remove/disable browser extensions from this dialog.<br/>Be aware that not all Firefox extensions work, because Vimperator overrides some keybindings and changes Firefox's GUI.", "You can add/remove/disable browser extensions from this dialog.<br/>Be aware that not all Firefox extensions work, because Vimperator overrides some keybindings and changes Firefox's GUI.",
//function() { },
function(args) { vimperator.commands.addons(args); }, function(args) { vimperator.commands.addons(args); },
null null
], ],
@@ -1473,7 +1472,7 @@ function focusNextFrame(count)
indicator.setAttribute("style", style); indicator.setAttribute("style", style);
doc.body.appendChild(indicator); doc.body.appendChild(indicator);
setTimeout(function() { doc.body.removeChild(indicator); }, 250); setTimeout(function() { doc.body.removeChild(indicator); }, 300);
} catch(e) { alert(e); } } catch(e) { alert(e); }
} }
@@ -2206,7 +2205,6 @@ function toggle_images() {
function Commands() function Commands()
{ {
this.addons = function(args) this.addons = function(args)
{ {
openURLsInNewTab("chrome://mozapps/content/extensions/extensions.xul", true); openURLsInNewTab("chrome://mozapps/content/extensions/extensions.xul", true);

View File

@@ -461,8 +461,8 @@ function Search()
// @todo nicer way to register commands? // @todo nicer way to register commands?
g_commands.push( g_commands.push(
[ [
["nohilight", "noh"], ["noh[lsearch]", "noh"],
["noh[ilight]"], ["noh[lsearch]"],
"Clear the current selection", "Clear the current selection",
"", "",
clearSelection, clearSelection,