Bug 29825: Intelligently add the new Security Level button to the taskbar
commitd7595079a561fb36220a83e1d60ba9e6bab289e5
authorRichard Pospesel <richard@torproject.org>
Fri, 29 Mar 2019 20:00:00 +0000 (29 13:00 -0700)
committerGeorg Koppen <gk@torproject.org>
Mon, 1 Apr 2019 07:51:16 +0000 (1 07:51 +0000)
tree362f5b072c6198c8e36fb6363389213ce04f1f31
parent743c1432c0112d74da5c18e9b238ede00ceb550e
Bug 29825: Intelligently add the new Security Level button to the taskbar

Added logic to torbutton to add the Security Level button after the
url bar, and subsequently move Tor Button between. This new method keeps
any UI customizations the user has made. In the event of error, the UI
configuration reverts back to the default as specified in the
browser.uiCustomization.state pref.
src/chrome/content/torbutton.js