1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 17:34:12 +01:00

Fix some recently broken :dialogs.

This commit is contained in:
Kris Maglione
2011-01-05 17:12:07 -05:00
parent 646c9c40dd
commit f289de2887
2 changed files with 5 additions and 5 deletions

View File

@@ -330,7 +330,7 @@ function deprecated(reason, fn) {
return func.apply(this, arguments);
}
deprecatedMethod.seen = {
"chrome://dactyl/content/javascript.js": true,
"resource://dactyl/javascript.jsm": true,
"resource://dactyl/util.jsm": true
};

View File

@@ -59,11 +59,11 @@ var Config = Module("config", ConfigBase, {
preferences: ["Show Firefox preferences dialog",
function () { window.openPreferences(); }],
printpreview: ["Preview the page before printing",
function () { PrintUtils.printPreview(window.PrintPreviewListener || onEnterPrintPreview, window.onExitPrintPreview); }],
function () { window.PrintUtils.printPreview(window.PrintPreviewListener || window.onEnterPrintPreview, window.onExitPrintPreview); }],
printsetup: ["Setup the page size and orientation before printing",
function () { PrintUtils.showPageSetup(); }],
function () { window.PrintUtils.showPageSetup(); }],
print: ["Show print dialog",
function () { PrintUtils.print(); }],
function () { window.PrintUtils.print(); }],
saveframe: ["Save frame to disk",
function () { window.saveFrameDocument(); }],
savepage: ["Save page to disk",
@@ -71,7 +71,7 @@ var Config = Module("config", ConfigBase, {
searchengines: ["Manage installed search engines",
function () { window.openDialog("chrome://browser/content/search/engineManager.xul", "_blank", "chrome,dialog,modal,centerscreen"); }],
selectionsource: ["View selection source",
function () { buffer.viewSelectionSource(); }],
function () { modules.buffer.viewSelectionSource(); }],
venkman: ["The JavaScript debugger",
function () { dactyl.assert("start_venkman" in window, "Venkman is not installed"); window.start_venkman() },
function () "start_venkman" in window]