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:
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…
x
Reference in New Issue
Block a user