mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-04 11:16:03 +00:00
add onOpened signal handler to NotificationHistoryPanel
This commit is contained in:
@@ -16,6 +16,10 @@ NPanel {
|
|||||||
preferredHeight: 480
|
preferredHeight: 480
|
||||||
panelKeyboardFocus: true
|
panelKeyboardFocus: true
|
||||||
|
|
||||||
|
onOpened: function() {
|
||||||
|
Settings.data.notifications.lastSeenTs = Time.timestamp * 1000
|
||||||
|
}
|
||||||
|
|
||||||
panelContent: Rectangle {
|
panelContent: Rectangle {
|
||||||
id: notificationRect
|
id: notificationRect
|
||||||
color: Color.transparent
|
color: Color.transparent
|
||||||
|
|||||||
Reference in New Issue
Block a user