mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-09 16:58:16 +03:00
small fixes here and there
This commit is contained in:
parent
d04c19dacf
commit
aba7aeab80
@ -72,7 +72,11 @@ Item {
|
||||
readonly property int version: LatteCore.Environment.makeVersion(0,9,4)
|
||||
|
||||
property bool addLaunchersMessage: false
|
||||
property bool addLaunchersInTaskManager: plasmoid.configuration.addLaunchersInTaskManager && latteView && (latteView.extendedInterface.latteTasksModel.count === 1)
|
||||
property bool addLaunchersInTaskManager: plasmoid.configuration.addLaunchersInTaskManager
|
||||
&& latteView
|
||||
&& (latteView.extendedInterface.latteTasksModel.count === 1)
|
||||
&& (latteView.extendedInterface.plasmaTasksModel.count === 0)
|
||||
|
||||
property bool backgroundOnlyOnMaximized: plasmoid.configuration.backgroundOnlyOnMaximized
|
||||
property bool behaveAsPlasmaPanel: {
|
||||
if (!LatteCore.WindowSystem.compositingActive) {
|
||||
|
@ -650,7 +650,8 @@ FocusScope {
|
||||
Layout.fillWidth: true
|
||||
text: i18n("Remove")
|
||||
iconSource: "delete"
|
||||
visible: latteView.layout.viewsCount > 1
|
||||
enabled: latteView.layout.viewsCount > 1
|
||||
opacity: enabled ? 1 : 0
|
||||
tooltip: i18n("Remove current dock")
|
||||
|
||||
onClicked: latteView.removeView()
|
||||
|
@ -141,6 +141,7 @@ PlasmaComponents.Page {
|
||||
checked: plasmoid.configuration.addLaunchersInTaskManager
|
||||
tooltip: i18n("Launchers are added only in the taskmanager and not as plasma applets")
|
||||
enabled: latteView.extendedInterface.latteTasksModel.count === 1
|
||||
&& latteView.extendedInterface.plasmaTasksModel.count === 0
|
||||
|
||||
onClicked: {
|
||||
plasmoid.configuration.addLaunchersInTaskManager = checked;
|
||||
|
Loading…
x
Reference in New Issue
Block a user