Changeset View
Changeset View
Standalone View
Standalone View
applets/notifications/package/contents/ui/NotificationPopup.qml
Context not available. | |||||
85 | } | 85 | } | ||
---|---|---|---|---|---|
86 | 86 | | |||
87 | closeNotification(notificationProperties.source) | 87 | closeNotification(notificationProperties.source) | ||
88 | notificationPopup.hide() | 88 | // the popup will be closed in response to sourceRemoved | ||
89 | } | 89 | } | ||
90 | onContainsMouseChanged: { | 90 | onContainsMouseChanged: { | ||
91 | if (containsMouse) { | 91 | if (containsMouse) { | ||
Context not available. | |||||
122 | 122 | | |||
123 | onClose: { | 123 | onClose: { | ||
124 | closeNotification(notificationProperties.source) | 124 | closeNotification(notificationProperties.source) | ||
125 | notificationPopup.hide() | 125 | // the popup will be closed in response to sourceRemoved | ||
126 | } | 126 | } | ||
127 | onConfigure: { | 127 | onConfigure: { | ||
128 | configureNotification(notificationProperties.appRealName, notificationProperties.eventId) | 128 | configureNotification(notificationProperties.appRealName, notificationProperties.eventId) | ||
129 | notificationPopup.hide() | 129 | notificationPositioner.closePopup(notificationProperties.source); | ||
130 | } | 130 | } | ||
131 | onAction: { | 131 | onAction: { | ||
132 | executeAction(notificationProperties.source, actionId) | 132 | executeAction(notificationProperties.source, actionId) | ||
133 | actions.clear() | 133 | actions.clear() | ||
134 | notificationPopup.hide() | | |||
135 | } | 134 | } | ||
136 | } | 135 | } | ||
137 | } | 136 | } | ||
Context not available. |