Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions locales/en-US/browser/browser/zen-workspaces.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,11 @@ zen-workspaces-close-all-unpinned-tabs-toast = Tabs Closed! Use <span>{ $shortcu
zen-workspaces-close-all-unpinned-tabs-title =
.label = Clear
.tooltiptext = Close all unpinned tabs

zen-workspaces-group-tabs-toast = Created { $count } { $count ->
[one] group
*[other] groups
}!
zen-workspaces-group-tabs-title =
.label = Group
.tooltiptext = Group tabs by similarity
1 change: 1 addition & 0 deletions src/browser/base/content/zen-commands.inc.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@

<command id="cmd_zenTogglePinTab" />
<command id="cmd_zenCloseUnpinnedTabs" />
<command id="cmd_zenGroupTabs" />
</commandset>
16 changes: 16 additions & 0 deletions src/browser/themes/shared/zen-icons/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,22 @@
list-style-image: url('arrow-down.svg') !important;
}

.zen-workspace-group-tabs-button {
list-style-image: none;

& .toolbarbutton-icon {
display: none !important;
}

@media -moz-pref('zen.view.show-clear-tabs-button', false) {
display: none;
}

@media -moz-pref('browser.ml.enable', false) {
display: none;
}
}

.zen-workspace-close-unpinned-tabs-button {
list-style-image: url('dart-down.svg');

Expand Down
1,085 changes: 544 additions & 541 deletions src/browser/themes/shared/zen-icons/jar.inc.mn

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions src/browser/themes/shared/zen-icons/lin/ZenGroup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/zen/common/zen-sets.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ document.addEventListener(
case 'cmd_zenCloseUnpinnedTabs':
gZenWorkspaces.closeAllUnpinnedTabs();
break;
case 'cmd_zenGroupTabs':
gZenWorkspaces.groupTabsBySimilarity();
break;
case 'cmd_zenUnloadWorkspace': {
gZenWorkspaces.unloadWorkspace();
break;
Expand Down
Loading