mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +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
|
||||
verticalAlignment: Qt.AlignVCenter
|
||||
text: summary + (!notificationItem.expanded && body ? "..." : "")
|
||||
text: background.margins.top + summary + (!notificationItem.expanded && body ? "..." : "")
|
||||
wrapMode: Text.WordWrap
|
||||
}
|
||||
PlasmaComponents.Label {
|
||||
|
|
|
|||
|
|
@ -42,6 +42,12 @@ PlasmaCore.Dialog {
|
|||
iconSource: "go-home"
|
||||
onClicked: root.closeWindowList();
|
||||
}
|
||||
|
||||
PlasmaComponents.ToolButton {
|
||||
anchors.right: parent.right
|
||||
iconSource: "window-close"
|
||||
onClicked: workspace.activeClient.closeWindow();
|
||||
}
|
||||
}
|
||||
Component.onCompleted: {
|
||||
KWin.registerWindow(panel);
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ X-KDE-PluginInfo-Author=Marco Martin
|
|||
X-KDE-PluginInfo-Email=mart@kde.org
|
||||
X-KDE-PluginInfo-Name=org.kde.phone.multitasking
|
||||
X-KDE-PluginInfo-Version=1.0
|
||||
X-KDE-PluginInfo-EnabledByDefault=true
|
||||
|
||||
X-KDE-PluginInfo-Depends=
|
||||
X-KDE-PluginInfo-License=GPL
|
||||
|
|
|
|||
Loading…
Reference in a new issue