if (this._hackEnabled) {
var keys_hack = document.getElementById('mac-accesskeys').checked;
if (keys_hack) {
- this._keyBranch.setIntPref('menuAccessKey', 17);
+ this._keyBranch.setIntPref('menuAccessKey', 18);
} else {
this._keyBranch.clearUserPref('menuAccessKey');
}
// We take this from ui.key.chromeAccess (no other way it seems, jkkn)
// Use 0 for disabled, 1 for Shift, 2 for Ctrl, 4 for Alt, 8 for Meta
// (values can be combined, e.g. 5 for Alt+Shift)
- var altKey = []; // ALT on windows, CONTROL on mac
+// var altKey = []; // ALT on windows, CONTROL on mac
/* var chromeAccess =
Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService)
.getBranch('ui.key.').getIntPref('chromeAccess');
if (chromeAccess & 8) altKey.push('meta');
if (altKey.length > 0) {
altKey = altKey.join(',');*/
- altKey = 'alt';
+ var altKey = 'alt';
this._addShortcut(shortcuts, 'tv2-key-open', altKey, '1', 'TV2Developer.handleKeyShortcut(event)');
this._addShortcut(shortcuts, 'tv2-key-repeat', altKey, '2', 'TV2Developer.handleButton(event)');
this._addShortcut(shortcuts, 'tv2-key-quick', altKey, '3', 'TV2Developer.openQuickbox(event)');