[apparmor] [PATCH] aa-notify: update to use 'normal' urgency to accommodate gnome-shell
Tyler Hicks
tyhicks at canonical.com
Tue Apr 11 17:40:14 UTC 2017
On 04/11/2017 12:31 PM, Jamie Strandboge wrote:
>
> aa-notify currently calls notify-send with urgency of 'critical'. In gnome-shell
> critical urgency notifications result in a notification that must be explictly
> clicked to dismiss (ie, they don't time out) and gnome-shell does not honor --
> expire-time with (at least) critical urgency. In other popular DEs critical
> urgency notifications time out. This patch updates the urgency to 'normal' to
> obtain intended behavior across DEs.
>
> Signed-off-by: Jamie Strandboge <jamie at canonical.com>
The libnotify documentation is of no help in determining what should be
normal and what should be critical:
https://developer.gnome.org/libnotify/0.7/NotifyNotification.html#NotifyUrgency
I guess that means that we need to set the urgency according to how the
popular DEs handle these notifications.
Acked-by: Tyler Hicks <tyhicks at canonical.com>
Tyler
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20170411/17ba0f34/attachment.pgp>
More information about the AppArmor
mailing list