GNOME Bugzilla – Bug 630942
Don't time out urgent notifications
Last modified: 2011-01-11 22:21:39 UTC
Use 'expires' or some other hint to make urgent notifications stay on the screen until the user acknowledges them (i.e. by selecting an action, clicking on the notification, hitting Esc or down arrow).
Wanted to work on this actually but guess it would be better if we have Bug 630934 fixed first, since we have new urgency mappings in that patch.
Created attachment 177649 [details] [review] This is a very simple patch by checking for Urgency.CRITICAL in this._notification.urgency, and it makes the this._notificationTimeout returns true unless it's not of the former urgency. The glib documentation specify that it will call the function repeatedly until it returns false, so maybe there are more graceful patches than this. Maybe we should increase the time out so the function call intervals are shorter? Since it will last indefinitely until the user do something.
EDIT: s/function\ call\ intervals\ are\ shorter/function\ call\ intervals\ are\ longer/g
Created attachment 178089 [details] [review] Notifications with CRITICAL urgency are no longer timed out Notifications with CRITICAL urgency should not pop down until the user interacts with them.
committed