@ -71,6 +71,7 @@ ColumnLayout{
RowLayout {
Layout.fillWidth: true
spacing: 0
RowLayout {
id: dndRow
@ -190,6 +191,13 @@ ColumnLayout{
Layout.fillWidth: true
}
PlasmaComponents . ToolButton {
iconName: "edit-clear-history"
tooltip: i18n ( "Clear History" )
visible: plasmoid . action ( "clearHistory" ) . visible
onClicked: action_clearHistory ( )
}
PlasmaComponents . ToolButton {
iconName: "configure"
/ / r e m o v e m n e m o n i c s
@ -340,24 +348,6 @@ ColumnLayout{
prefix: "pressed"
}
header: RowLayout {
width: list . width
PlasmaExtras . Heading {
Layout.fillWidth: true
level: 3
opacity: 0.6
text: list . count === 0 ? i18n ( "No unread notifications." ) : i18n ( "Notifications" )
}
PlasmaComponents . ToolButton {
iconName: "edit-clear-history"
tooltip: i18n ( "Clear History" )
visible: plasmoid . action ( "clearHistory" ) . visible
onClicked: action_clearHistory ( )
}
}
add: Transition {
SequentialAnimation {
PauseAnimation { duration: units . longDuration }
@ -557,6 +547,14 @@ ColumnLayout{
}
}
}
PlasmaExtras . Heading {
width: list . width
level: 3
opacity: 0.6
text: i18n ( "No unread notifications." )
visible: list . count === 0
}
}
}
}