GODT-1741: GUI and CLI settings to change visibility of All Mail folder.

This commit is contained in:
Jakub
2022-07-28 12:35:03 +02:00
parent 8b39ea4acb
commit 76469969f3
6 changed files with 79 additions and 0 deletions

View File

@ -672,6 +672,10 @@ Window {
Label {colorScheme: root.colorScheme; text: "DoH:"}
Toggle {colorScheme: root.colorScheme; checked: root.isDoHEnabled; onClicked: root.isDoHEnabled = !root.isDoHEnabled}
}
RowLayout {
Label {colorScheme: root.colorScheme; text: "All Mail disabled:"}
Toggle {colorScheme: root.colorScheme; checked: root.isAllMailDisabled; onClicked: root.isAllMailDisabled = !root.isAllMailDisabled}
}
RowLayout {
Label {colorScheme: root.colorScheme; text: "Ports:"}
TextField {
@ -811,6 +815,13 @@ Window {
root.isDoHEnabled = makeItActive
}
property bool isAllMailDisabled : false
function changeIsAllMailDisabled(isDisabled){
console.debug("-> All Mail Disabled", isDisabled, root.isAllMailDisabled)
root.isAllMailDisabled = isDisabled
}
property bool useSSLforSMTP: false
function toggleUseSSLforSMTP(makeItActive){
console.debug("-> SMTP SSL", makeItActive, root.useSSLforSMTP)