mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-22 11:52:03 +03:00
change from 'show tray' to 'hide tray'
This commit is contained in:
parent
439a7a8d44
commit
8a49c738b4
@ -183,9 +183,10 @@ export class Application {
|
|||||||
}
|
}
|
||||||
|
|
||||||
enableTray (): void {
|
enableTray (): void {
|
||||||
if (!!this.tray || process.platform === 'linux' || this.configStore.showTray === false) {
|
if (!!this.tray || process.platform === 'linux' || (this.configStore.hideTray ?? false) === true) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (process.platform === 'darwin') {
|
if (process.platform === 'darwin') {
|
||||||
this.tray = new Tray(`${app.getAppPath()}/assets/tray-darwinTemplate.png`)
|
this.tray = new Tray(`${app.getAppPath()}/assets/tray-darwinTemplate.png`)
|
||||||
this.tray.setPressedImage(`${app.getAppPath()}/assets/tray-darwinHighlightTemplate.png`)
|
this.tray.setPressedImage(`${app.getAppPath()}/assets/tray-darwinHighlightTemplate.png`)
|
||||||
|
@ -2037,7 +2037,7 @@ msgid "Show Serial connections"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:73
|
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:73
|
||||||
msgid "Show Tabby in tray or menu bar."
|
msgid "Hide Tabby in tray or menu bar."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:152
|
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:152
|
||||||
@ -2049,7 +2049,7 @@ msgid "Show toolbar"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:73
|
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:73
|
||||||
msgid "Show tray"
|
msgid "Hide tray"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: locale/tmp-html/tabby-settings/src/components/vaultSettingsTab.component.html:45
|
#: locale/tmp-html/tabby-settings/src/components/vaultSettingsTab.component.html:45
|
||||||
|
@ -43,7 +43,7 @@ enableWelcomeTab: true
|
|||||||
electronFlags:
|
electronFlags:
|
||||||
- ['force_discrete_gpu', '0']
|
- ['force_discrete_gpu', '0']
|
||||||
enableAutomaticUpdates: true
|
enableAutomaticUpdates: true
|
||||||
showTray: true
|
hideTray: false
|
||||||
version: 1
|
version: 1
|
||||||
vault: null
|
vault: null
|
||||||
encrypted: false
|
encrypted: false
|
||||||
|
@ -123,10 +123,10 @@ h3.mb-3(translate) Window
|
|||||||
|
|
||||||
.form-line(*ngIf='hostApp.platform !== Platform.Web && hostApp.platform !== Platform.Linux')
|
.form-line(*ngIf='hostApp.platform !== Platform.Web && hostApp.platform !== Platform.Linux')
|
||||||
.header
|
.header
|
||||||
.title(translate) Show tray
|
.title(translate) Hide tray
|
||||||
.description(translate) Show Tabby in tray or menu bar.
|
.description(translate) Hide Tabby in tray or menu bar.
|
||||||
toggle(
|
toggle(
|
||||||
[(ngModel)]='config.store.showTray',
|
[(ngModel)]='config.store.hideTray',
|
||||||
(ngModelChange)='saveConfiguration(true)'
|
(ngModelChange)='saveConfiguration(true)'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user