mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-05 01:16:35 +00:00
Added preferences for split views and tabs unloader
This commit is contained in:
2
l10n
2
l10n
Submodule l10n updated: 51317dbe46...bee67c4c6e
@@ -119,6 +119,7 @@ pref('zen.sidebar.close-on-blur', true);
|
|||||||
// Zen Split View
|
// Zen Split View
|
||||||
pref('zen.splitView.working', false);
|
pref('zen.splitView.working', false);
|
||||||
pref('zen.splitView.min-resize-width', 7);
|
pref('zen.splitView.min-resize-width', 7);
|
||||||
|
pref('zen.splitView.change-on-hover', false);
|
||||||
|
|
||||||
// Zen Workspaces
|
// Zen Workspaces
|
||||||
pref('zen.workspaces.enabled', true);
|
pref('zen.workspaces.enabled', true);
|
||||||
|
Submodule src/browser/base/content/zen-components updated: 5df1298bfd...37804deef0
@@ -954,4 +954,14 @@ Preferences.addAll([
|
|||||||
type: 'bool',
|
type: 'bool',
|
||||||
default: true,
|
default: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: 'zen.view.split-view.change-on-hover',
|
||||||
|
type: 'bool',
|
||||||
|
default: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'zen.tab-unloader.timeout-minutes',
|
||||||
|
type: 'int',
|
||||||
|
default: 10,
|
||||||
|
}
|
||||||
]);
|
]);
|
||||||
|
@@ -255,6 +255,22 @@
|
|||||||
</hbox>
|
</hbox>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
|
|
||||||
|
<hbox id="zenSplitViewCategory"
|
||||||
|
class="subcategory"
|
||||||
|
hidden="true"
|
||||||
|
data-category="paneZenLooks">
|
||||||
|
<html:h1 data-l10n-id="zen-split-view-title"/>
|
||||||
|
</hbox>
|
||||||
|
|
||||||
|
<groupbox id="zenSplitViewGroup" data-category="paneZenLooks" hidden="true" class="highlighting-group">
|
||||||
|
<label><html:h2 data-l10n-id="zen-split-view-header"/></label>
|
||||||
|
<description class="description-deemphasized" data-l10n-id="zen-split-view-description" />
|
||||||
|
|
||||||
|
<checkbox id="zenLooksAndFeelSplitViewChangeOnHover"
|
||||||
|
data-l10n-id="zen-split-view-change-on-hover"
|
||||||
|
preference="zen.view.split-view.change-on-hover"/>
|
||||||
|
</groupbox>
|
||||||
|
|
||||||
<hbox id="zenVerticalTabsCategory"
|
<hbox id="zenVerticalTabsCategory"
|
||||||
class="subcategory"
|
class="subcategory"
|
||||||
hidden="true"
|
hidden="true"
|
||||||
|
@@ -49,8 +49,14 @@
|
|||||||
preference="zen.tab-unloader.enabled"/>
|
preference="zen.tab-unloader.enabled"/>
|
||||||
|
|
||||||
<label><html:h2 data-l10n-id="zen-tabs-unloader-unload-delay"/></label>
|
<label><html:h2 data-l10n-id="zen-tabs-unloader-unload-delay"/></label>
|
||||||
<description class="description-deemphasized" data-l10n-id="zen-tabs-unloader-unload-delay-description" />
|
<hbox id="zenTabsUnloadDelayContainer">
|
||||||
<!-- TODO: Input type should be number -->
|
<description class="description-deemphasized" data-l10n-id="zen-tabs-unloader-unload-delay-description" />
|
||||||
|
<html:input id="zenTabsUnloadDelay"
|
||||||
|
type="number"
|
||||||
|
min="1"
|
||||||
|
max="1000"
|
||||||
|
preference="zen.tab-unloader.timeout-minutes"/>
|
||||||
|
</hbox>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
|
|
||||||
</html:template>
|
</html:template>
|
||||||
|
@@ -309,6 +309,15 @@ groupbox h2 {
|
|||||||
list-style-image: url('chrome://browser/skin/window.svg');
|
list-style-image: url('chrome://browser/skin/window.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#zenTabsUnloadDelayContainer {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
& #zenTabsUnloadDelay {
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* CKS */
|
/* CKS */
|
||||||
|
|
||||||
#category-zen-CKS > .category-icon {
|
#category-zen-CKS > .category-icon {
|
||||||
|
Reference in New Issue
Block a user