Bug 894576 - Lower the priority of the notification bar to INFO. r=yury
authorBrendan Dahl <bdahl@mozilla.com>
Mon, 22 Jul 2013 12:08:18 -0700
changeset 152118 fa7746ab3ddf9c5763226b0759c689b454e31b2b
parent 152117 429c2a431ba82586cab4cb1b1fd7fb50563f5091
child 152119 74633f25ca05e76ce5d9f101b7667df76ca64f1d
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersyury
bugs894576
milestone25.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 894576 - Lower the priority of the notification bar to INFO. r=yury
browser/extensions/pdfjs/components/PdfStreamConverter.js
--- a/browser/extensions/pdfjs/components/PdfStreamConverter.js
+++ b/browser/extensions/pdfjs/components/PdfStreamConverter.js
@@ -348,17 +348,17 @@ ChromeActions.prototype = {
       accessKey: getLocalizedString(strings, 'open_with_different_viewer',
                                     'accessKey'),
       callback: function() {
         sentResponse = true;
         sendResponse(true);
       }
     }];
     notificationBox.appendNotification(message, 'pdfjs-fallback', null,
-                                       notificationBox.PRIORITY_WARNING_LOW,
+                                       notificationBox.PRIORITY_INFO_LOW,
                                        buttons,
                                        function eventsCallback(eventType) {
       // Currently there is only one event "removed" but if there are any other
       // added in the future we still only care about removed at the moment.
       if (eventType !== 'removed')
         return;
       // Don't send a response again if we already responded when the button was
       // clicked.