expose dock settings in plasmoid context menu

--block from the ui the hide signal when userConfiguring,
this is until the visibilitymanager is updated
v0.6
Michail Vourlakos 8 years ago
parent c5bb3fa230
commit bf64223d56

@ -82,8 +82,10 @@ Item{
function slotMustBeHide() { function slotMustBeHide() {
// console.log("hide...."); // console.log("hide....");
if (!plasmoid.userConfiguring) {
slidingAnimationAutoHiddenOut.init(); slidingAnimationAutoHiddenOut.init();
} }
}
function slotModeChanged() { function slotModeChanged() {
if (dock.visibility.mode !== Latte.Dock.AutoHide) { if (dock.visibility.mode !== Latte.Dock.AutoHide) {

@ -593,7 +593,9 @@ PlasmaComponents.ContextMenu {
PlasmaComponents.MenuItem { PlasmaComponents.MenuItem {
property QtObject configureAction: null 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 enabled: configureAction && configureAction.enabled
text: configureAction ? configureAction.text : "" text: configureAction ? configureAction.text : ""

Loading…
Cancel
Save