1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 04:02:27 +01:00

Delete dead code.

This commit is contained in:
Kris Maglione
2014-08-14 11:57:06 -07:00
parent 81396b2367
commit df87dc5676

View File

@@ -1816,13 +1816,6 @@ var Buffer = Module("Buffer", {
dactyl.assert(!arg || arg[0] == ">",
_("error.trailingCharacters"));
const PRINTER = "PostScript/default";
const BRANCH = "printer_" + PRINTER + ".";
const BRANCHES = ["print.", BRANCH, "print." + BRANCH];
function set(pref, value) {
BRANCHES.forEach(function (branch) { prefs.set(branch + pref, value); });
}
let settings = services.printSettings.newPrintSettings;
settings.printSilent = args.bang;
if (arg) {
@@ -1834,9 +1827,6 @@ var Buffer = Module("Buffer", {
}
else {
dactyl.echomsg(_("print.sending"));
if (false)
prefs.set("print.show_print_progress", !args.bang);
}
config.browser.contentWindow