mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-31 08:44:45 +00:00
no notifications message
This commit is contained in:
parent
7c4cb2c00b
commit
7c1664f586
1 changed files with 12 additions and 0 deletions
|
|
@ -119,6 +119,18 @@ Item {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PlasmaCore.FrameSvgItem {
|
||||||
|
anchors.centerIn: parent
|
||||||
|
visible: notificationsModel.count == 0
|
||||||
|
imagePath: "widgets/background"
|
||||||
|
width: childrenRect.width + margins.left + margins.right
|
||||||
|
height: childrenRect.height + margins.top + margins.bottom
|
||||||
|
PlasmaComponents.Label {
|
||||||
|
anchors.centerIn: parent
|
||||||
|
text: i18n("No recent notifications")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ListModel {
|
ListModel {
|
||||||
id: notificationsModel
|
id: notificationsModel
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue