Bug 1026629 - Use PRORITY_WARNING_MEDIUM instead of non-existent priority level PRIORITY_MEDIUM_HIGH on notifications. r=mkmelin, r=florian, a=me
authoraceman <acelists@atlas.sk>
Tue, 17 Jun 2014 11:55:00 -0400
changeset 16349 fdf6199b3ea99d18add7807b76ab046a4eacbb5e
parent 16348 bba208381553197534a3bda9275b064afb0db056
child 16350 86f9d2bd2d46c3ba9ac6c3686ef298ea2030652f
push id10215
push userryanvm@gmail.com
push dateWed, 18 Jun 2014 15:45:10 +0000
treeherdercomm-central@fdf6199b3ea9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmkmelin, florian, me
bugs1026629
Bug 1026629 - Use PRORITY_WARNING_MEDIUM instead of non-existent priority level PRIORITY_MEDIUM_HIGH on notifications. r=mkmelin, r=florian, a=me
im/content/extensions.js
mail/base/content/specialTabs.js
--- a/im/content/extensions.js
+++ b/im/content/extensions.js
@@ -100,17 +100,17 @@ var addonsRegister = {
         callback: function() {
           installInfo.install();
         }
       }];
 
       if (!notificationBox.getNotificationWithValue(notificationName)) {
         notificationBox.appendNotification(messageString, notificationName,
                                            iconURL,
-                                           notificationBox.PRIORITY_MEDIUM_HIGH,
+                                           notificationBox.PRIORITY_WARNING_MEDIUM,
                                            buttons);
       }
       break;
     case "addon-install-failed":
       // XXX TODO This isn't terribly ideal for the multiple failure case
       for (let [, install] in Iterator(installInfo.installs)) {
         let host = ((installInfo.originatingURI instanceof Ci.nsIStandardURL) &&
                     installInfo.originatingURI.host) ||
--- a/mail/base/content/specialTabs.js
+++ b/mail/base/content/specialTabs.js
@@ -1278,17 +1278,17 @@ var specialTabs = {
           callback: function() {
             installInfo.install();
           }
         }];
 
         if (notificationBox && !notificationBox.getNotificationWithValue(notificationName)) {
             notificationBox.appendNotification(messageString, notificationName,
                                                iconURL,
-                                               notificationBox.PRIORITY_MEDIUM_HIGH,
+                                               notificationBox.PRIORITY_WARNING_MEDIUM,
                                                buttons);
           }
         break;
       case "addon-install-failed":
         // XXX TODO This isn't terribly ideal for the multiple failure case
         for (let [, install] in Iterator(installInfo.installs)) {
           let host = (installInfo.originatingURI instanceof Ci.nsIStandardURL) &&
                       installInfo.originatingURI.host;