Commit 5f412e8b authored by Marco Martin's avatar Marco Martin

close button

parent 87bd6285
...@@ -122,7 +122,7 @@ MouseArea { ...@@ -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 { ...@@ -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 ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment