mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 02:22:26 +01:00
Add passwords and venkman dialogs.
This commit is contained in:
@@ -1330,7 +1330,7 @@ const Dactyl = Module("dactyl", {
|
||||
config.dialogs[dialog][1]();
|
||||
}
|
||||
catch (e) {
|
||||
dactyl.echoerr("Error opening " + arg.quote() + ": " + e);
|
||||
dactyl.echoerr("Error opening " + dialog.quote() + ": " + (e.message || e));
|
||||
}
|
||||
}, {
|
||||
argCount: "1",
|
||||
|
||||
@@ -60,6 +60,7 @@
|
||||
* Added -javascript option to :abbrev and :map.
|
||||
* Added several new options to :map.
|
||||
* Added -agent flag to :style
|
||||
* Added "passwords" and "venkman" dialogs to :dialog
|
||||
* Removed the :source line at the end of files generated by
|
||||
:mkpentadactylrc.
|
||||
* gf now toggles between source and content view.
|
||||
|
||||
@@ -68,6 +68,8 @@ const Config = Module("config", ConfigBase, {
|
||||
function () { window.BrowserPageInfo(); }],
|
||||
pagesource: ["View page source",
|
||||
function () { window.BrowserViewSourceOfDocument(content.document); }],
|
||||
passwords: ["Passwords dialog",
|
||||
function () { window.openDialog("chrome://passwordmgr/content/passwordManager.xul"); }],
|
||||
places: ["Places Organizer: Manage your bookmarks and history",
|
||||
function () { PlacesCommandHook.showPlacesOrganizer(ORGANIZER_ROOT_BOOKMARKS); }],
|
||||
preferences: ["Show Firefox preferences dialog",
|
||||
@@ -85,7 +87,9 @@ const 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 () { buffer.viewSelectionSource(); }],
|
||||
venkman: ["The JavaScript debugger",
|
||||
function () { dactyl.assert("start_venkman" in window, "Venkman is not installed"); start_venkman() }]
|
||||
},
|
||||
|
||||
features: [
|
||||
|
||||
Reference in New Issue
Block a user