From 7793810160c6c3bdb92a4faef5eeb28ef0c38856 Mon Sep 17 00:00:00 2001 From: jkkn Date: Fri, 2 Nov 2007 14:21:54 +0000 Subject: [PATCH] changed to altKey --- content/options.js | 2 +- content/tv2developer.js | 4 ++-- version | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/options.js b/content/options.js index 1db758f..3240d93 100755 --- a/content/options.js +++ b/content/options.js @@ -25,7 +25,7 @@ var TV2Options = { 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'); } diff --git a/content/tv2developer.js b/content/tv2developer.js index 5670f22..670766a 100755 --- a/content/tv2developer.js +++ b/content/tv2developer.js @@ -42,7 +42,7 @@ var TV2Developer = { // 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'); @@ -52,7 +52,7 @@ var TV2Developer = { 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)'); diff --git a/version b/version index 1a5ac0d..04e84f8 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.6.9 +0.6.10 -- 2.52.0