Bug 1153198 - Remove accesskey for disabling add-ons. r=blassey
authorDavid Rajchenbach-Teller <dteller@mozilla.com>
Fri, 24 Apr 2015 12:22:29 +0200
changeset 273935 1e6108d642bfb2092c60c94a52623765f73d31ab
parent 273934 5cffb3b5b2fbc663a7e2fd75bee25449bc3f5e67
child 273936 474d3b594af4fd17d9078a4e6b8f4dc9e3f6e341
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersblassey
bugs1153198
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1153198 - Remove accesskey for disabling add-ons. r=blassey
browser/components/nsBrowserGlue.js
browser/locales/en-US/chrome/browser/browser.properties
--- a/browser/components/nsBrowserGlue.js
+++ b/browser/components/nsBrowserGlue.js
@@ -627,17 +627,16 @@ BrowserGlue.prototype = {
       let notificationId = 'addon-slow:' + addonId;
       let notification = notificationBox.getNotificationWithValue(notificationId);
       if(notification) {
         notification.label = message;
       } else {
         let buttons = [
           {
             label: win.gNavigatorBundle.getFormattedString("addonwatch.disable.label", [addon.name]),
-            accessKey: win.gNavigatorBundle.getString("addonwatch.disable.accesskey"),
             callback: function() {
               addon.userDisabled = true;
               if (addon.pendingOperations != addon.PENDING_NONE) {
                 let restartMessage = win.gNavigatorBundle.getFormattedString("addonwatch.restart.message", [addon.name, brandShortName]);
                 let restartButton = [
                   {
                     label: win.gNavigatorBundle.getFormattedString("addonwatch.restart.label", [brandShortName]),
                     accessKey: win.gNavigatorBundle.getString("addonwatch.restart.accesskey"),
--- a/browser/locales/en-US/chrome/browser/browser.properties
+++ b/browser/locales/en-US/chrome/browser/browser.properties
@@ -46,17 +46,16 @@ addonInstall.acceptButton.accesskey=I
 # Semicolon-separated list of plural forms. See:
 # http://developer.mozilla.org/en/docs/Localization_and_Plurals
 # #1 is brandShortName
 # #2 is the number of add-ons being installed
 addonConfirmInstall.message=This site would like to install an add-on in #1:;This site would like to install #2 add-ons in #1:
 
 addonwatch.slow=%1$S might be making %2$S run slowly
 addonwatch.disable.label=Disable %S
-addonwatch.disable.accesskey=D
 addonwatch.ignoreSession.label=Ignore for now
 addonwatch.ignoreSession.accesskey=I
 addonwatch.ignorePerm.label=Ignore permanently
 addonwatch.ignorePerm.accesskey=p
 addonwatch.restart.message=To disable %1$S you must restart %2$S
 addonwatch.restart.label=Restart %S
 addonwatch.restart.accesskey=R