mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Simplified TaskbarGrouped settings by removing unneeded toggle and adding its functionality to the combobox.
This commit is contained in:
@@ -41,6 +41,9 @@ ColumnLayout {
|
||||
}, {
|
||||
"key": "name",
|
||||
"name": I18n.tr("options.workspace-labels.name")
|
||||
}, {
|
||||
"key": "index+name",
|
||||
"name": I18n.tr("options.workspace-labels.index+name")
|
||||
}]
|
||||
currentKey: widgetData.labelMode || widgetMetadata.labelMode
|
||||
onSelected: key => valueLabelMode = key
|
||||
@@ -64,16 +67,8 @@ ColumnLayout {
|
||||
|
||||
NToggle {
|
||||
Layout.fillWidth: true
|
||||
label: I18n.tr("bar.widget-settings.taskbar-grouped.show-workspace-numbers.label")
|
||||
description: I18n.tr("bar.widget-settings.taskbar-grouped.show-workspace-numbers.description")
|
||||
checked: root.valueShowWorkspaceNumbers
|
||||
onToggled: checked => root.valueShowWorkspaceNumbers = checked
|
||||
}
|
||||
|
||||
NToggle {
|
||||
Layout.fillWidth: true
|
||||
label: I18n.tr("bar.widget-settings.taskbar-grouped.show-numbers-only-when-occupied.label")
|
||||
description: I18n.tr("bar.widget-settings.taskbar-grouped.show-numbers-only-when-occupied.description")
|
||||
label: I18n.tr("bar.widget-settings.taskbar-grouped.show-labels-only-when-occupied.label")
|
||||
description: I18n.tr("bar.widget-settings.taskbar-grouped.show-labels-only-when-occupied.description")
|
||||
checked: root.valueShowNumbersOnlyWhenOccupied
|
||||
onToggled: checked => root.valueShowNumbersOnlyWhenOccupied = checked
|
||||
visible: root.valueShowWorkspaceNumbers
|
||||
|
||||
Reference in New Issue
Block a user