mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-27 18:25:45 +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);
|
return func.apply(this, arguments);
|
||||||
}
|
}
|
||||||
deprecatedMethod.seen = {
|
deprecatedMethod.seen = {
|
||||||
"chrome://dactyl/content/javascript.js": true,
|
"resource://dactyl/javascript.jsm": true,
|
||||||
"resource://dactyl/util.jsm": true
|
"resource://dactyl/util.jsm": true
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -59,11 +59,11 @@ var Config = Module("config", ConfigBase, {
|
|||||||
preferences: ["Show Firefox preferences dialog",
|
preferences: ["Show Firefox preferences dialog",
|
||||||
function () { window.openPreferences(); }],
|
function () { window.openPreferences(); }],
|
||||||
printpreview: ["Preview the page before printing",
|
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",
|
printsetup: ["Setup the page size and orientation before printing",
|
||||||
function () { PrintUtils.showPageSetup(); }],
|
function () { window.PrintUtils.showPageSetup(); }],
|
||||||
print: ["Show print dialog",
|
print: ["Show print dialog",
|
||||||
function () { PrintUtils.print(); }],
|
function () { window.PrintUtils.print(); }],
|
||||||
saveframe: ["Save frame to disk",
|
saveframe: ["Save frame to disk",
|
||||||
function () { window.saveFrameDocument(); }],
|
function () { window.saveFrameDocument(); }],
|
||||||
savepage: ["Save page to disk",
|
savepage: ["Save page to disk",
|
||||||
@@ -71,7 +71,7 @@ var Config = Module("config", ConfigBase, {
|
|||||||
searchengines: ["Manage installed search engines",
|
searchengines: ["Manage installed search engines",
|
||||||
function () { window.openDialog("chrome://browser/content/search/engineManager.xul", "_blank", "chrome,dialog,modal,centerscreen"); }],
|
function () { window.openDialog("chrome://browser/content/search/engineManager.xul", "_blank", "chrome,dialog,modal,centerscreen"); }],
|
||||||
selectionsource: ["View selection source",
|
selectionsource: ["View selection source",
|
||||||
function () { buffer.viewSelectionSource(); }],
|
function () { modules.buffer.viewSelectionSource(); }],
|
||||||
venkman: ["The JavaScript debugger",
|
venkman: ["The JavaScript debugger",
|
||||||
function () { dactyl.assert("start_venkman" in window, "Venkman is not installed"); window.start_venkman() },
|
function () { dactyl.assert("start_venkman" in window, "Venkman is not installed"); window.start_venkman() },
|
||||||
function () "start_venkman" in window]
|
function () "start_venkman" in window]
|
||||||
|
|||||||
Reference in New Issue
Block a user