support combining window previews and titletips

pull/1/head
Michail Vourlakos 8 years ago
parent cfa8ee9deb
commit 9f5ab1397d

@ -141,7 +141,7 @@ Item {
property bool showOnlyCurrentScreen: latteDock ? latteDock.showOnlyCurrentScreen : plasmoid.configuration.showOnlyCurrentScreen
property bool showOnlyCurrentDesktop: latteDock ? latteDock.showOnlyCurrentDesktop : plasmoid.configuration.showOnlyCurrentDesktop
property bool showOnlyCurrentActivity: latteDock ? latteDock.showOnlyCurrentActivity : plasmoid.configuration.showOnlyCurrentActivity
property bool showPreviews: latteDock ? (latteDock.showToolTips && !titleTooltips) : plasmoid.configuration.showToolTips
property bool showPreviews: latteDock ? latteDock.showToolTips : plasmoid.configuration.showToolTips
property bool showWindowActions: latteDock ? latteDock.showWindowActions : plasmoid.configuration.showWindowActions
property bool smartLaunchersEnabled: latteDock ? latteDock.smartLaunchersEnabled : plasmoid.configuration.smartLaunchersEnabled
property bool threeColorsWindows: latteDock ? latteDock.threeColorsWindows : plasmoid.configuration.threeColorsWindows

@ -538,7 +538,7 @@ MouseArea{
return;
}
if (root.latteDock){
if (root.latteDock && (!root.showPreviews || (root.showPreviews && isLauncher))){
root.latteDock.showTooltipLabel(mainItemContainer, model.AppName);
}
@ -567,7 +567,7 @@ MouseArea{
onExited: {
mouseEntered = false;
if (root.latteDock){
if (root.latteDock && (!root.showPreviews || (root.showPreviews && isLauncher))){
root.latteDock.hideTooltipLabel();
}

@ -112,8 +112,6 @@ PlasmaComponents.Page {
Layout.leftMargin: units.smallSpacing * 2
text: i18n("Preview windows on hovering")
checked: plasmoid.configuration.showToolTips
tooltip: i18n("This option can be combined with applet/task title tooltips")
enabled: !plasmoid.configuration.titleTooltips
onClicked: {
plasmoid.configuration.showToolTips = checked;

@ -66,7 +66,6 @@ PlasmaComponents.Page {
Layout.leftMargin: units.smallSpacing * 2
text: i18n("Show applets/task title tooltips on hovering")
checked: plasmoid.configuration.titleTooltips
tooltip: i18n("This option can be combined with tasks window previews")
onClicked: {
plasmoid.configuration.titleTooltips = checked;

Loading…
Cancel
Save