richard pushed to branch tor-browser-115.2.0esr-13.0-1 at The Tor Project / Applications / Tor Browser
Commits:
- 
2791be7c
by cypherpunks1 at 2023-08-21T09:36:11-08:00
2 changed files:
Changes:
| ... | ... | @@ -53,8 +53,7 @@ | 
| 53 | 53 |                       class="subviewbutton"
 | 
| 54 | 54 |                       data-l10n-id="appmenuitem-new-private-window"
 | 
| 55 | 55 |                       key="key_privatebrowsing"
 | 
| 56 | -                     command="Tools:PrivateBrowsing"
 | |
| 57 | -                     hidden="true"/>
 | |
| 56 | +                     command="Tools:PrivateBrowsing"/>
 | |
| 58 | 57 |        <toolbarseparator/>
 | 
| 59 | 58 |        <toolbarbutton id="appMenu-new-identity"
 | 
| 60 | 59 |                       class="subviewbutton"
 | 
| ... | ... | @@ -1801,7 +1801,7 @@ var gBrowserInit = { | 
| 1801 | 1801 |      this._boundDelayedStartup = this._delayedStartup.bind(this);
 | 
| 1802 | 1802 |      window.addEventListener("MozAfterPaint", this._boundDelayedStartup);
 | 
| 1803 | 1803 | |
| 1804 | -    if (!PrivateBrowsingUtils.enabled) {
 | |
| 1804 | +    if (PrivateBrowsingUtils.permanentPrivateBrowsing || !PrivateBrowsingUtils.enabled) {
 | |
| 1805 | 1805 |        document.getElementById("Tools:PrivateBrowsing").hidden = true;
 | 
| 1806 | 1806 |        // Setting disabled doesn't disable the shortcut, so we just remove
 | 
| 1807 | 1807 |        // the keybinding.
 |