SHARE
TWEET

Failed XUL experiment

a guest May 10th, 2013 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/src/chrome/content/toolbar_button.js b/src/chrome/content/toolbar_b
  2. index 404e553..b7368b2 100644
  3. --- a/src/chrome/content/toolbar_button.js
  4. +++ b/src/chrome/content/toolbar_button.js
  5. @@ -42,13 +42,15 @@ toolbarButton = {
  6.  
  7.        var strings = document.getElementById('HttpsEverywhereStrings');
  8.        var msg = strings.getString('https-everywhere.toolbar.hint');
  9. -      nBox.appendNotification(
  10. +      var note = nBox.appendNotification(
  11.            msg,
  12.            'https-everywhere',
  13.            'chrome://https-everywhere/skin/https-everywhere-24.png',
  14.            nBox.PRIORITY_WARNING_MEDIUM
  15.          );
  16.  
  17. +      note.setAttribute("align", "end");
  18. +
  19.        // remove listener
  20.        gBrowser.removeEventListener('load', toolbarButton.showToolbarHint, true)
  21.      }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top