mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 15:57:58 +01:00
commited pending changes, nothing big
This commit is contained in:
@@ -51,7 +51,8 @@ var g_commands = [/*{{{*/
|
||||
["addons"],
|
||||
"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.",
|
||||
function() { openURLsInNewTab("chrome://mozapps/content/extensions/extensions.xul", true); },
|
||||
//function() { },
|
||||
function(args) { vimperator.commands.addons(args); },
|
||||
null
|
||||
],
|
||||
[
|
||||
@@ -176,8 +177,8 @@ var g_commands = [/*{{{*/
|
||||
["hardcopy", "ha"],
|
||||
["ha[rdcopy]"],
|
||||
"Print current document",
|
||||
"NOT FUNCTIONAL YET. Open a GUI dialog where you can select the printer, number of copies, orientation, etc.",
|
||||
function() { goDoCommand('cmd_print'); },
|
||||
"Open a GUI dialog where you can select the printer, number of copies, orientation, etc.",
|
||||
function() { getBrowser().contentWindow.print(); },
|
||||
null
|
||||
],
|
||||
[
|
||||
@@ -2179,4 +2180,18 @@ function toggle_images() {
|
||||
message ("imageBehavior set to " + pref);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function Commands()
|
||||
{
|
||||
|
||||
this.addons = function(args)
|
||||
{
|
||||
openURLsInNewTab("chrome://mozapps/content/extensions/extensions.xul", true);
|
||||
}
|
||||
|
||||
logMessage("Commands initialized");
|
||||
}
|
||||
|
||||
// vim: set fdm=marker sw=4 ts=4 et:
|
||||
|
||||
Reference in New Issue
Block a user