1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-02 21:47:22 +03:00

expose dock settings in plasmoid context menu

--block from the ui the hide signal when userConfiguring,
this is until the visibilitymanager is updated
This commit is contained in:
Michail Vourlakos 2017-01-02 12:17:38 +02:00
parent 4152535e51
commit db3f0c4f1c
2 changed files with 8 additions and 4 deletions

View File

@ -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() {

View File

@ -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 : ""