GNOME Bugzilla – Bug 744815
Some updates to built-in notifications and exposed notification capabilities
Last modified: 2015-02-20 01:00:05 UTC
By now it's hardly a secret anymore that some major notification changes are about to happen - let's start with some minor bits that are mostly independent from the rest (and don't depend on the theme rework that is happening in parallel) ...
Created attachment 297299 [details] [review] notificationDaemon: Remove support for legacy status icons Tray icons make for a terrible UI on their own, but trying to shoehorn them into the notification system has only made them worse. At least for the time being this removal is temporary and support for tray icons will be back, but no longer as part of the notification system.
Created attachment 297300 [details] [review] autorunManager: Remove resident notification The new notification system will no longer give access to actions from the notifications list, so a notification that is never displayed as banner does not make sense here.
Created attachment 297301 [details] [review] autorunManager: Use a regular urgent notification According to the design, hotplug notifications should no longer offer an eject action and use regular notification buttons (but using icon and text), the default action when clicking the notification itself is to launch the file browser. Also as the corresponding resident notification is gone, it no longer makes sense to make the notification transient.
Created attachment 297302 [details] [review] autorunManager: Remove eject support It's no longer exposed anywhere (by design), so kill off the now unused bits.
Created attachment 297304 [details] [review] messageTray: Remove support for images in notifications The design says they are no longer a thing.
Created attachment 297305 [details] [review] messageTray: Remove support for Music notifications Music is no longer a special type of notification according to the design. If we want to resurrect the functionality, we can reimplement it with a dedicated API like MPRIS rather than piggy-bagging on the notification system.
Created attachment 297306 [details] [review] notificationDaemon: Remove support for action-icons This capability was only really useful for media players, and with music notifications no longer being special, we can simplify a bit by removing support for it.
Review of attachment 297300 [details] [review]: OK.
Review of attachment 297302 [details] [review]: Sure.
Review of attachment 297301 [details] [review]: Got it.
Review of attachment 297305 [details] [review]: Go for it.
Review of attachment 297304 [details] [review]: RIP.
Review of attachment 297306 [details] [review]: Gut it.
Review of attachment 297299 [details] [review]: OK.
Attachment 297299 [details] pushed as 5a8923e - notificationDaemon: Remove support for legacy status icons Attachment 297300 [details] pushed as a4fb55b - autorunManager: Remove resident notification Attachment 297301 [details] pushed as aa2ae29 - autorunManager: Use a regular urgent notification Attachment 297302 [details] pushed as 240cdc6 - autorunManager: Remove eject support Attachment 297304 [details] pushed as f08e2b7 - messageTray: Remove support for images in notifications Attachment 297305 [details] pushed as ea9e5bc - messageTray: Remove support for Music notifications Attachment 297306 [details] pushed as f430114 - notificationDaemon: Remove support for action-icons