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:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user