Skip to content
Commit 7f7d2298 authored by David Edmundson's avatar David Edmundson
Browse files

Add a notication service to inhibit certain notifications based on metadata

Summary:
Sometimes we get notifications for events that are also displayed by
Plasma, giving us some rather annoying popups.

This patch provides a service on the notification dataengine so that
other plasmoids can block the notification applet from processing those
notifications.

Intended use case is for the network manager plasomid to not show a
notification whilst the dialog is open, as notifications come from kded.

However it's kept generic enough that other plasmoids can filter on
other hints, such as category or desktop file.

Test Plan:
Wrote relevant patch for plasma-nm
Didn't get notification toggling a network whilst the popup was open
Did after I closed the popup

Reviewers: #plasma, mart

Reviewed By: mart

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D3589
parent 7ad88dc2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment