commit 9b34a8f002374f36543a7cf1dfa2b37e8ade83ef Author: Richard Pospesel richard@torproject.org Date: Wed Oct 13 14:22:27 2021 +0200
fixup! TB4: Tor Browser's Firefox preference overrides. --- browser/themes/shared/menupanel.inc.css | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/browser/themes/shared/menupanel.inc.css b/browser/themes/shared/menupanel.inc.css index 4629e5e86891..ef71035f5fd5 100644 --- a/browser/themes/shared/menupanel.inc.css +++ b/browser/themes/shared/menupanel.inc.css @@ -23,3 +23,10 @@ #appMenu-fullscreen-button2[checked] { list-style-image: url(chrome://browser/skin/fullscreen-exit.svg); } + +/* hide the separate new private window button when all windows are private */ +@supports -moz-bool-pref("browser.privatebrowsing.autostart") { + toolbarbutton#appMenu-new-private-window-button2 { + display: none; + } +} \ No newline at end of file
tbb-commits@lists.torproject.org