mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 13:54:12 +01:00
Fix mailbird.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
Components.utils.import("resource://gre/modules/utils.js"); // XXX
|
||||
|
||||
const config = Module("config", {
|
||||
const Config = Module("config", {
|
||||
init: function () {
|
||||
// TODO: mention this to SB devs, they seem keen to provide these
|
||||
// functions to make porting from FF as simple as possible.
|
||||
@@ -147,16 +147,6 @@ const config = Module("config", {
|
||||
|
||||
modes: [["PLAYER", { char: "p" }]],
|
||||
|
||||
get ignoreKeys() {
|
||||
delete this.ignoreKeys;
|
||||
return this.ignoreKeys = {
|
||||
"<Return>": modes.NORMAL | modes.INSERT,
|
||||
"<Space>": modes.NORMAL | modes.INSERT,
|
||||
"<Up>": modes.NORMAL | modes.INSERT,
|
||||
"<Down>": modes.NORMAL | modes.INSERT
|
||||
};
|
||||
},
|
||||
|
||||
scripts: [
|
||||
"browser.js",
|
||||
"bookmarks.js",
|
||||
@@ -282,6 +272,14 @@ const config = Module("config", {
|
||||
context.completions = Config.displayPanes; // FIXME: useful description etc
|
||||
};
|
||||
},
|
||||
modes: function () {
|
||||
this.ignoreKeys = {
|
||||
"<Return>": modes.NORMAL | modes.INSERT,
|
||||
"<Space>": modes.NORMAL | modes.INSERT,
|
||||
"<Up>": modes.NORMAL | modes.INSERT,
|
||||
"<Down>": modes.NORMAL | modes.INSERT
|
||||
};
|
||||
},
|
||||
options: function () {
|
||||
// TODO: SB doesn't explicitly support an offline mode. Should we? --djk
|
||||
options.add(["online"],
|
||||
|
||||
Reference in New Issue
Block a user