[Git][tpo/applications/tor-browser][tor-browser-153.5.0esr-16.0-1] fixup! TB 41600: Add a tor circuit display panel.
morgan pushed to branch tor-browser-153.5.0esr-16.0-1 at The Tor Project / Applications / Tor Browser Commits: 32c5d8ee by Henry Wilkes at 2026-10-21T17:56:24+01:00 fixup! TB 41600: Add a tor circuit display panel. TB 45398: Move tor circuit button into the identity box. - - - - - 2 changed files: - browser/base/content/navigator-toolbox.inc.xhtml - browser/themes/shared/identity-block/identity-block.css Changes: ===================================== browser/base/content/navigator-toolbox.inc.xhtml ===================================== @@ -214,19 +214,6 @@ <image id="remote-control-icon"/> </box> - <!-- We follow the surrounding code and use a - - <xul:box role="button"> rather than a more semantic - - <html:button>, <xul:button> or <xul:toolbarbutton> --> - <box id="tor-circuit-button" - role="button" - class="identity-box-button" - align="center" - data-l10n-id="tor-circuit-urlbar-button" - urlbar-slot="site-info" - hidden="true"> - <image id="tor-circuit-button-icon"/> - </box> - <box id="trust-icon-container" align="center" role="button" data-l10n-id="urlbar-identity-button" urlbar-slot="site-info"> <image id="trust-icon"/> <label id="trust-label" crop="center" flex="1" data-l10n-id="urlbar-trust-icon-notsecure-label" /> @@ -250,6 +237,17 @@ class="identity-box" pageproxystate="invalid" urlbar-slot="site-info"> + <!-- We follow the surrounding code and use a + - <xul:box role="button"> rather than a more semantic + - <html:button>, <xul:button> or <xul:toolbarbutton> --> + <box id="tor-circuit-button" + role="button" + class="identity-box-button" + align="center" + data-l10n-id="tor-circuit-urlbar-button" + hidden="true"> + <image id="tor-circuit-button-icon"/> + </box> <box id="identity-icon-box" role="button" align="center" ===================================== browser/themes/shared/identity-block/identity-block.css ===================================== @@ -7,7 +7,6 @@ #tracking-protection-icon-container, #identity-box, #trust-icon-container, -#tor-circuit-button, #urlbar-label-box { height: var(--urlbar-basic-component-size); } @@ -33,7 +32,9 @@ /* And don't show the identity icon box in this case, just permissions indication */ - > #identity-icon-box { + /* Hide the tor circuit when the identity box is also hidden. + * tor-browser#45398. */ + > :is(#identity-icon-box, #tor-circuit-button) { display: none; } } View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/32c5d8ee... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/32c5d8ee... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
morgan (@morgan)