|
|
|
@ -880,6 +880,12 @@ PlasmaComponents.ContextMenu {
|
|
|
|
|
visible: root.inEditMode
|
|
|
|
|
}*/
|
|
|
|
|
|
|
|
|
|
PlasmaComponents.MenuItem {
|
|
|
|
|
text: "Latte"
|
|
|
|
|
section: true
|
|
|
|
|
visible: appletAbilities.myView.isReady
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PlasmaComponents.MenuItem {
|
|
|
|
|
id: layoutsMenuItem
|
|
|
|
|
action: appletAbilities.myView.isReady ? appletAbilities.myView.action("layouts") : plasmoid.action("configure")
|
|
|
|
@ -956,6 +962,22 @@ PlasmaComponents.ContextMenu {
|
|
|
|
|
|
|
|
|
|
PlasmaComponents.MenuItem {
|
|
|
|
|
separator: true
|
|
|
|
|
visible: removePlasmoid.visible
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PlasmaComponents.MenuItem {
|
|
|
|
|
id: removePlasmoid
|
|
|
|
|
visible: (root.latteInEditMode) || (!root.latteBridge && !plasmoid.immutable /*normal plasmoid in the desktop*/)
|
|
|
|
|
|
|
|
|
|
text: plasmoid.action("remove").text
|
|
|
|
|
icon: plasmoid.action("remove").icon
|
|
|
|
|
|
|
|
|
|
onClicked: plasmoid.action("remove").trigger();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PlasmaComponents.MenuItem {
|
|
|
|
|
section: true
|
|
|
|
|
text: i18n("Window")
|
|
|
|
|
visible: closeWindowItem.visible
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -979,19 +1001,4 @@ PlasmaComponents.ContextMenu {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PlasmaComponents.MenuItem {
|
|
|
|
|
separator: true
|
|
|
|
|
visible: removePlasmoid.visible
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PlasmaComponents.MenuItem {
|
|
|
|
|
id: removePlasmoid
|
|
|
|
|
visible: (root.latteInEditMode) || (!root.latteBridge && !plasmoid.immutable /*normal plasmoid in the desktop*/)
|
|
|
|
|
|
|
|
|
|
text: plasmoid.action("remove").text
|
|
|
|
|
icon: plasmoid.action("remove").icon
|
|
|
|
|
|
|
|
|
|
onClicked: plasmoid.action("remove").trigger();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|