Commit 73e51ef8 authored by Nate Graham's avatar Nate Graham
Browse files

[kcms/notifications] Re-arrange and re-word top items

- "Always show on top" has been renamed to "Show over full screen windows"
  To make more clear what this setting does
- Moved the "Show critical notifications in DnD" mode checkbox out of
  the DND section and into the Critical Notifications section, which
  felt somehow more appropriate
parent d4e50b2f
......@@ -102,18 +102,6 @@ KCM.SimpleKCM {
}
QtControls.CheckBox {
text: i18n("Show critical notifications")
checked: kcm.notificationSettings.criticalInDndMode
onClicked: kcm.notificationSettings.criticalInDndMode = checked
KCM.SettingStateBinding {
configObject: kcm.notificationSettings
settingName: "CriticalInDndMode"
extraEnabledConditions: root.notificationsAvailable
}
}
RowLayout {
enabled: root.notificationsAvailable
......@@ -133,7 +121,7 @@ KCM.SimpleKCM {
QtControls.CheckBox {
Kirigami.FormData.label: i18n("Critical notifications:")
text: i18n("Always keep on top")
text: i18n("Show over full screen windows")
checked: kcm.notificationSettings.criticalAlwaysOnTop
onClicked: kcm.notificationSettings.criticalAlwaysOnTop = checked
......@@ -144,9 +132,21 @@ KCM.SimpleKCM {
}
}
QtControls.CheckBox {
text: i18n("Show in Do Not Disturb mode")
checked: kcm.notificationSettings.criticalInDndMode
onClicked: kcm.notificationSettings.criticalInDndMode = checked
KCM.SettingStateBinding {
configObject: kcm.notificationSettings
settingName: "CriticalInDndMode"
extraEnabledConditions: root.notificationsAvailable
}
}
QtControls.CheckBox {
Kirigami.FormData.label: i18n("Normal notifications:")
text: i18n("Always keep on top")
text: i18n("Show over full screen windows")
checked: kcm.notificationSettings.normalAlwaysOnTop
onClicked: kcm.notificationSettings.normalAlwaysOnTop = checked
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment