D20158: Allow to set urgency for notifications
Kai Uwe Broulik
noreply at phabricator.kde.org
Mon Apr 1 10:01:07 BST 2019
broulik created this revision.
broulik added reviewers: Plasma, Frameworks, vkrause, ogoffart, mck182.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
broulik requested review of this revision.
REVISION SUMMARY
This lets the application set an urgency hint on the notification, which can be low, normal, or critical.
The notification server can then apply different behavior, e.g. show critical notifications on top of full screen windows, or suppress low urgency notifications by default.
See https://developer.gnome.org/notification-spec/#urgency-levels
TEST PLAN
- Put `Urgency=Critical` into a notifyrc file, had it send the hint "2"
REPOSITORY
R289 KNotifications
REVISION DETAIL
https://phabricator.kde.org/D20158
AFFECTED FILES
src/knotification.cpp
src/knotification.h
src/knotificationmanager.cpp
src/notifybypopup.cpp
To: broulik, #plasma, #frameworks, vkrause, ogoffart, mck182
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190401/45509a9f/attachment.html>
More information about the Kde-frameworks-devel
mailing list