mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-21 22:50:14 +03:00
fix #873,show confiw window for plasmoid
--show option for config window for the plasmoid in the context menu, when the Latte plasmoid insnt inside a Latte dock
This commit is contained in:
parent
9fdb1b598d
commit
90ee9ef00b
@ -854,6 +854,7 @@ PlasmaComponents.ContextMenu {
|
||||
action: latteDock ? latteDock.containmentActions()[3] : plasmoid.action("configure")
|
||||
}
|
||||
|
||||
//! BEGIN: Plasmoid actions when it isnt inside a Latte dock
|
||||
PlasmaComponents.MenuItem {
|
||||
id: removePlasmoid
|
||||
visible: !latteDock && !plasmoid.immutable
|
||||
@ -864,6 +865,17 @@ PlasmaComponents.ContextMenu {
|
||||
onClicked: plasmoid.action("remove").trigger();
|
||||
}
|
||||
|
||||
PlasmaComponents.MenuItem {
|
||||
id: configurePlasmoid
|
||||
visible: !latteDock && !plasmoid.immutable
|
||||
|
||||
text: plasmoid.action("configure").text
|
||||
icon: plasmoid.action("configure").icon
|
||||
|
||||
onClicked: plasmoid.action("configure").trigger();
|
||||
}
|
||||
//! END: Plasmoid actions when it isnt inside a Latte dock
|
||||
|
||||
PlasmaComponents.MenuItem {
|
||||
separator: true
|
||||
visible: closeWindowItem.visible
|
||||
|
Loading…
x
Reference in New Issue
Block a user