1cc20ca6b6
There are cases in which a service may want to override a message with one coming with higher priority, for example an info or hint message isn't useful anymore if we've already got an error message. In the same way when a service has been stopped we don't care anymore showing its info or hint messages, while it still may be relevant to show errors. An example is the fingerprint service that may emit errors quickly while the hints messages should not be kept around when an error is already queued or when the service has been stopped. So, add function that allows to override queued messages based by their type that follows this policy: - Messages coming from different services are always preserved in their original order. - Messages (from the same service) with a priority equal or higher than the last queued one are preserved. - Messages matching completely the last queued are dropped in favor of this one. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1683> |
||
---|---|---|
.. | ||
authPrompt.js | ||
batch.js | ||
credentialManager.js | ||
loginDialog.js | ||
oVirt.js | ||
realmd.js | ||
util.js | ||
vmware.js |