expose dock settings in plasmoid context menu

--block from the ui the hide signal when userConfiguring,
this is until the visibilitymanager is updated
pull/1/head
Michail Vourlakos 8 years ago
parent 4152535e51
commit db3f0c4f1c

@ -76,13 +76,15 @@ Item{
}
function slotMustBeShown() {
// console.log("show...");
// console.log("show...");
slidingAnimationAutoHiddenIn.init();
}
function slotMustBeHide() {
// console.log("hide....");
slidingAnimationAutoHiddenOut.init();
// console.log("hide....");
if (!plasmoid.userConfiguring) {
slidingAnimationAutoHiddenOut.init();
}
}
function slotModeChanged() {

@ -593,7 +593,9 @@ PlasmaComponents.ContextMenu {
PlasmaComponents.MenuItem {
property QtObject configureAction: null
visible: !nowDockPanel
//FIXME: when Tasks settings have been included in Latte configuration window
//this can be enabled!!!
//visible: !nowDockPanel
enabled: configureAction && configureAction.enabled
text: configureAction ? configureAction.text : ""

Loading…
Cancel
Save