Skip to content

Commit

Permalink
move 'show tray' setting to window settings
Browse files Browse the repository at this point in the history
  • Loading branch information
C41M50N committed Jun 17, 2024
1 parent 9425920 commit 439a7a8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions locale/en-GB.po
Original file line number Diff line number Diff line change
Expand Up @@ -2036,7 +2036,7 @@ msgstr ""
msgid "Show Serial connections"
msgstr ""

#: locale/tmp-html/tabby-settings/src/components/settingsTab.component.html:73
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:73
msgid "Show Tabby in tray or menu bar."
msgstr ""

Expand All @@ -2048,7 +2048,7 @@ msgstr ""
msgid "Show toolbar"
msgstr ""

#: locale/tmp-html/tabby-settings/src/components/settingsTab.component.html:73
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:73
msgid "Show tray"
msgstr ""

Expand Down
9 changes: 0 additions & 9 deletions tabby-settings/src/components/settingsTab.component.pug
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,6 @@
.description(translate) Enable automatic installation of updates when they become available.
toggle([(ngModel)]='config.store.enableAutomaticUpdates', (ngModelChange)='saveConfiguration()')

.form-line(*ngIf='hostApp.platform !== Platform.Web')
.header
.title(translate) Show tray
.description(translate) Show Tabby in tray or menu bar.
toggle(
[(ngModel)]='config.store.showTray',
(ngModelChange)='saveConfiguration(true)'
)

.form-line(*ngIf='hostApp.platform !== Platform.Web')
.header
.title(translate) Debugging
Expand Down
9 changes: 9 additions & 0 deletions tabby-settings/src/components/windowSettingsTab.component.pug
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,15 @@ h3.mb-3(translate) Window
label.btn.btn-secondary(for='frameFull')
span(translate) Full

.form-line(*ngIf='hostApp.platform !== Platform.Web && hostApp.platform !== Platform.Linux')
.header
.title(translate) Show tray
.description(translate) Show Tabby in tray or menu bar.
toggle(
[(ngModel)]='config.store.showTray',
(ngModelChange)='saveConfiguration(true)'
)

h3.mt-4(translate) Docking

.form-line(*ngIf='docking')
Expand Down

0 comments on commit 439a7a8

Please sign in to comment.