@ -868,6 +868,16 @@ PlasmaComponents.ContextMenu {
}
}
PlasmaComponents . MenuItem {
id: alternativesMenuItem
visible: ( appletAbilities . myView . isReady && appletAbilities . myView . inEditMode )
|| ( ! appletAbilities . myView . isReady && plasmoid . userConfiguring /*normal plasmoid in the desktop*/ )
text: plasmoid . action ( "alternatives" ) . text
icon: plasmoid . action ( "alternatives" ) . icon
onClicked: plasmoid . action ( "alternatives" ) . trigger ( ) ;
}
PlasmaComponents . MenuItem {
/ / t e x t : i 1 8 n ( " C o n f i g u r e " )
/ / s e c t i o n : t r u e
@ -909,15 +919,6 @@ PlasmaComponents.ContextMenu {
visible: preferenceMenuItem . visible
}
PlasmaComponents . MenuItem {
id: alternativesMenuItem
visible: root . inEditMode && ! visualParent . isSeparator
text: plasmoid . action ( "alternatives" ) . text
icon: plasmoid . action ( "alternatives" ) . icon
onClicked: plasmoid . action ( "alternatives" ) . trigger ( ) ;
}
PlasmaComponents . MenuItem {
id: addWidgets
action: appletAbilities . myView . isReady ? appletAbilities . myView . action ( "add latte widgets" ) : plasmoid . action ( "configure" ) ;
@ -967,7 +968,8 @@ PlasmaComponents.ContextMenu {
PlasmaComponents . MenuItem {
id: removePlasmoid
visible: ( root . latteInEditMode ) || ( ! root . latteBridge && ! plasmoid . immutable /*normal plasmoid in the desktop*/ )
visible: ( appletAbilities . myView . isReady && appletAbilities . myView . inEditMode )
|| ( ! root . latteBridge && ! plasmoid . immutable /*normal plasmoid in the desktop*/ )
text: plasmoid . action ( "remove" ) . text
icon: plasmoid . action ( "remove" ) . icon