mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-03 10:14:45 +00:00
close button
This commit is contained in:
parent
87bd6285c7
commit
5f412e8b75
3 changed files with 8 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ MouseArea {
|
||||||
}
|
}
|
||||||
horizontalAlignment: Qt.AlignRight
|
horizontalAlignment: Qt.AlignRight
|
||||||
verticalAlignment: Qt.AlignVCenter
|
verticalAlignment: Qt.AlignVCenter
|
||||||
text: summary + (!notificationItem.expanded && body ? "..." : "")
|
text: background.margins.top + summary + (!notificationItem.expanded && body ? "..." : "")
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
}
|
}
|
||||||
PlasmaComponents.Label {
|
PlasmaComponents.Label {
|
||||||
|
|
|
||||||
|
|
@ -42,6 +42,12 @@ PlasmaCore.Dialog {
|
||||||
iconSource: "go-home"
|
iconSource: "go-home"
|
||||||
onClicked: root.closeWindowList();
|
onClicked: root.closeWindowList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PlasmaComponents.ToolButton {
|
||||||
|
anchors.right: parent.right
|
||||||
|
iconSource: "window-close"
|
||||||
|
onClicked: workspace.activeClient.closeWindow();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
KWin.registerWindow(panel);
|
KWin.registerWindow(panel);
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ X-KDE-PluginInfo-Author=Marco Martin
|
||||||
X-KDE-PluginInfo-Email=mart@kde.org
|
X-KDE-PluginInfo-Email=mart@kde.org
|
||||||
X-KDE-PluginInfo-Name=org.kde.phone.multitasking
|
X-KDE-PluginInfo-Name=org.kde.phone.multitasking
|
||||||
X-KDE-PluginInfo-Version=1.0
|
X-KDE-PluginInfo-Version=1.0
|
||||||
|
X-KDE-PluginInfo-EnabledByDefault=true
|
||||||
|
|
||||||
X-KDE-PluginInfo-Depends=
|
X-KDE-PluginInfo-Depends=
|
||||||
X-KDE-PluginInfo-License=GPL
|
X-KDE-PluginInfo-License=GPL
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue