Bug 1407664 - Port bug 1394248 to TB: Update plugin icons. r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Wed, 11 Oct 2017 17:47:17 +0200
changeset 29163 bd0f723f1c32a6f9024af430a90620b1e744c96c
parent 29162 dd2c759074f472fa204b2d4b2a8321eabd28d9c2
child 29164 b2ecd51acb470c37c75ac45dd58e7dea98c95993
push id2068
push userclokep@gmail.com
push dateMon, 13 Nov 2017 19:02:14 +0000
treeherdercomm-beta@9c7e7ce8672b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk
bugs1407664, 1394248
Bug 1407664 - Port bug 1394248 to TB: Update plugin icons. r=jorgk
mail/base/content/plugins.js
mail/themes/linux/mail/preferences/applications.css
mail/themes/osx/mail/preferences/applications.css
mail/themes/windows/mail/preferences/applications.css
--- a/mail/base/content/plugins.js
+++ b/mail/base/content/plugins.js
@@ -376,47 +376,47 @@ var gPluginHandler = {
                             Ci.nsIAppStartup.eAttemptQuit);
     }
 
     let messengerBundle = document.getElementById("bundle_messenger");
 
     let notifications = {
       PluginBlocklisted : {
         barID: "blocked-plugins",
-        iconURL: "chrome://mozapps/skin/plugins/pluginGeneric-16.png",
+        iconURL: "chrome://mozapps/skin/plugins/pluginBlocked.svg",
         message: messengerBundle.getString("blockedpluginsMessage.title"),
         buttons: [{
           label: messengerBundle.getString("blockedpluginsMessage.infoButton.label"),
           accessKey: messengerBundle.getString("blockedpluginsMessage.infoButton.accesskey"),
           popup: null,
           callback: showBlocklistInfo
         },
         {
           label: messengerBundle.getString("blockedpluginsMessage.searchButton.label"),
           accessKey: messengerBundle.getString("blockedpluginsMessage.searchButton.accesskey"),
           popup: null,
           callback: showOutdatedPluginsInfo
         }],
       },
       PluginOutdated: {
         barID: "outdated-plugins",
-        iconURL: "chrome://mozapps/skin/plugins/pluginGeneric-16.png",
+        iconURL: "chrome://mozapps/skin/plugins/pluginGeneric.svg",
         message: messengerBundle.getString("outdatedpluginsMessage.title"),
         buttons: [{
           label: messengerBundle.getString("outdatedpluginsMessage.updateButton.label"),
           accessKey: messengerBundle.getString("outdatedpluginsMessage.updateButton.accesskey"),
           popup: null,
           callback: showOutdatedPluginsInfo
         }],
       }
     };
     if (AppConstants.platform == "macosx") {
       notifications["npapi-carbon-event-model-failure"] = {
         barID: "carbon-failure-plugins",
-        iconURL: "chrome://mozapps/skin/plugins/pluginGeneric-16.png",
+        iconURL: "chrome://mozapps/skin/plugins/pluginGeneric.svg",
         message: messengerBundle.getString("carbonFailurePluginsMessage.message"),
         buttons: [{
           label: messengerBundle.getString("carbonFailurePluginsMessage.restartButton.label"),
           accessKey: messengerBundle.getString("carbonFailurePluginsMessage.restartButton.accesskey"),
           popup: null,
           callback: carbonFailurePluginsRestartBrowser
         }],
       }
@@ -633,17 +633,17 @@ var gPluginHandler = {
       // If there's already an existing notification bar, don't do anything.
       let messengerBundle = document.getElementById("bundle_messenger");
       let notification = notificationBox.getNotificationWithValue("plugin-crashed");
       if (notification)
         return;
 
       // Configure the notification bar
       let priority = notificationBox.PRIORITY_WARNING_MEDIUM;
-      let iconURL = "chrome://mozapps/skin/plugins/pluginGeneric-16.png";
+      let iconURL = "chrome://mozapps/skin/plugins/pluginGeneric.svg";
       let reloadLabel = messengerBundle.getString("crashedpluginsMessage.reloadButton.label");
       let reloadKey   = messengerBundle.getString("crashedpluginsMessage.reloadButton.accesskey");
       let submitLabel = messengerBundle.getString("crashedpluginsMessage.submitButton.label");
       let submitKey   = messengerBundle.getString("crashedpluginsMessage.submitButton.accesskey");
 
       let buttons = [{
         label: reloadLabel,
         accessKey: reloadKey,
--- a/mail/themes/linux/mail/preferences/applications.css
+++ b/mail/themes/linux/mail/preferences/applications.css
@@ -36,17 +36,17 @@ menuitem[appHandlerIcon="ask"] {
 
 richlistitem[appHandlerIcon="save"],
 menuitem[appHandlerIcon="save"] {
   list-style-image: url("moz-icon://stock/gtk-save?size=menu");
 }
 
 richlistitem[appHandlerIcon="plugin"],
 menuitem[appHandlerIcon="plugin"] {
-  list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
+  list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.svg");
 }
 
 .actionsMenu .menulist-icon {
   margin-inline-end: 1px;
   height: 16px;
   width: 16px;
 }
 
--- a/mail/themes/osx/mail/preferences/applications.css
+++ b/mail/themes/osx/mail/preferences/applications.css
@@ -35,17 +35,17 @@ menuitem[appHandlerIcon="ask"] {
 
 richlistitem[appHandlerIcon="save"],
 menuitem[appHandlerIcon="save"] {
   list-style-image: url("chrome://messenger/skin/preferences/saveFile.png");
 }
 
 richlistitem[appHandlerIcon="plugin"],
 menuitem[appHandlerIcon="plugin"] {
-  list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
+  list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.svg");
 }
 
 .actionsMenu .menulist-icon {
   margin-inline-end: 1px;
 }
 
 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
   padding-inline-start: 3px;
--- a/mail/themes/windows/mail/preferences/applications.css
+++ b/mail/themes/windows/mail/preferences/applications.css
@@ -36,17 +36,17 @@ menuitem[appHandlerIcon="ask"] {
 
 richlistitem[appHandlerIcon="save"],
 menuitem[appHandlerIcon="save"] {
   list-style-image: url("chrome://messenger/skin/preferences/saveFile.png");
 }
 
 richlistitem[appHandlerIcon="plugin"],
 menuitem[appHandlerIcon="plugin"] {
-  list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
+  list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.svg");
 }
 
 .actionsMenu .menulist-icon {
   margin-inline-end: 3px;
 }
 
 .actionsMenu > menupopup > menuitem > .menu-iconic-left {
   padding-inline-start: 0px;