mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-06 01:46:35 +00:00
feat(pinned-tab-url-reset): add option to reset pinned tab to originally pinned url
Adds a new setting to enable or disable pinned tab url resetting on pressing close tab shortcut. Persists pinned tab url and label on browser closing.
This commit is contained in:
@@ -1020,4 +1020,9 @@ Preferences.addAll([
|
||||
type: 'bool',
|
||||
default: false,
|
||||
},
|
||||
{
|
||||
id: 'zen.tab-unloader.reset-pinned-tab-on-close-shortcut',
|
||||
type: 'bool',
|
||||
default: true,
|
||||
},
|
||||
]);
|
||||
|
@@ -48,6 +48,10 @@
|
||||
data-l10n-id="zen-tabs-unloader-enabled"
|
||||
preference="zen.tab-unloader.enabled"/>
|
||||
|
||||
<checkbox id="zenPinnedTabResetOnCloseShortcutEnable"
|
||||
data-l10n-id="zen-tabs-pinned-reset-close-shortcut-enabled"
|
||||
preference="zen.tab-unloader.reset-pinned-tab-on-close-shortcut"/>
|
||||
|
||||
<label><html:h2 data-l10n-id="zen-tabs-unloader-unload-delay"/></label>
|
||||
<hbox id="zenTabsUnloadDelayContainer">
|
||||
<description class="description-deemphasized" data-l10n-id="zen-tabs-unloader-unload-delay-description" />
|
||||
|
Reference in New Issue
Block a user