mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
feat: Add new settings for close shortcut behavior of pinned tabs
This commit introduces new settings for the behavior of closing pinned tabs using the close shortcut. The following options are now available: - **Reset pinned tab on close shortcut**: Reset the tab to the pinned URL. - **Unload pinned tab on close shortcut**: Unload the tab. - **Change pinned tab on close shortcut**: Change the pinned tab. - **Close pinned tab on close shortcut**: Close the tab. This provides more granular control over how pinned tabs are handled when the close shortcut is used, allowing users to customize the behavior to their specific needs.
This commit is contained in:
@@ -71,13 +71,26 @@
|
||||
<label><html:h2 data-l10n-id="zen-pinned-tab-manager-header"/></label>
|
||||
<description class="description-deemphasized" data-l10n-id="zen-pinned-tab-manager-description" />
|
||||
|
||||
<checkbox id="zenPinnedTabResetOnCloseShortcutEnable"
|
||||
data-l10n-id="zen-pinned-tab-manager-reset-close-shortcut-enabled"
|
||||
preference="zen.pinned-tab-manager.reset-pinned-tab-on-close-shortcut"/>
|
||||
|
||||
<checkbox id="zenPinnedTabRestorePinnedTabsToPinnedUrl"
|
||||
data-l10n-id="zen-pinned-tab-manager-restore-pinned-tabs-to-pinned-url"
|
||||
preference="zen.pinned-tab-manager.restore-pinned-tabs-to-pinned-url"/>
|
||||
|
||||
<label><html:h2 data-l10n-id="zen-pinned-tab-manager-close-shortcut-behavior-header"/></label>
|
||||
<description class="description-deemphasized" data-l10n-id="zen-pinned-tab-manager-close-shortcut-behavior-description" />
|
||||
<vbox class="indent">
|
||||
<checkbox id="zenPinnedTabResetOnCloseShortcutEnable"
|
||||
data-l10n-id="zen-pinned-tab-manager-reset-close-shortcut-enabled"
|
||||
preference="zen.pinned-tab-manager.reset-pinned-tab-on-close-shortcut"/>
|
||||
<checkbox id="zenPinnedTabUnloadOnCloseShortcutEnable"
|
||||
data-l10n-id="zen-pinned-tab-manager-unload-close-shortcut-enabled"
|
||||
preference="zen.pinned-tab-manager.unload-pinned-tab-on-close-shortcut"/>
|
||||
<checkbox id="zenPinnedTabChangeOnCloseShortcutEnable"
|
||||
data-l10n-id="zen-pinned-tab-manager-change-close-shortcut-enabled"
|
||||
preference="zen.pinned-tab-manager.change-pinned-tab-on-close-shortcut"/>
|
||||
<checkbox id="zenPinnedTabCloseOnCloseShortcutEnable"
|
||||
data-l10n-id="zen-pinned-tab-manager-close-close-shortcut-enabled"
|
||||
preference="zen.pinned-tab-manager.close-pinned-tab-on-close-shortcut"/>
|
||||
</vbox>
|
||||
</groupbox>
|
||||
|
||||
</html:template>
|
||||
|
Reference in New Issue
Block a user