1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-27 16:13:33 +01:00

Allow <Uxxxx> key names.

--HG--
extra : rebase_source : 659bc3b0faab56e52c584e514411fa7cacd8af77
This commit is contained in:
Kris Maglione
2010-11-03 03:35:31 -04:00
parent 5bba002dfb
commit 1caf0d1f45
4 changed files with 35 additions and 23 deletions

View File

@@ -1978,7 +1978,8 @@ const Dactyl = Module("dactyl", {
dactyl.version = addon.version + " (created: @DATE@)";
});
services.add("commandLineHandler", "@mozilla.org/commandlinehandler/general-startup;1?type=" + config.name);
if (!services.get("commandLineHandler"))
services.add("commandLineHandler", "@mozilla.org/commandlinehandler/general-startup;1?type=" + config.name);
let commandline = services.get("commandLineHandler").optionValue;
if (commandline) {