Closed ikeydoherty closed 7 years ago
@raveit65 @lukefromdc Please can you test this? Please also take a look at the "ugly" Coco buttons and the pie_countdown in Slider having a black background.
The PR works, and in Audacious using Coco and with the tray applet enabled gives usable "pause" and "next" buttons using icons from the icon-theme. Background of the buttons is the gtk3 theme standard button background , which could be a mismatch in some GTK themes but works well in mine. That could of course be made themable within a theme by attaching a style class to the notification theme's toplevel window or to the buttons themselves.
Slider does not give a pie at all, I don't recall it ever having done so on my machines. EDIT: maybe an issue with my theme?
Still, I rather like this, especially for Audacious and will be keeping it installed for the moment
@ikeydoherty: thanks, merged :slightly_smiling_face:
Ta :)
This PR adds support to MATE Notification Daemon for the
action-icons
attribute, per capabilites + hints in the freedesktop Notifications Specification. These permit icons to be used in place of labels, with self describing icons (see 7aeebb6 in this PR for a full explanation)It also exposed a number of bugs, subsequently fixed, in the existing themes when updating a live notification. The existing textual actions would disappear (
gtk+-3.0 3.20
) once a live notification is updated, for example by Rhythmbox.It also turns out that pie_countdown's were duplicated or borky in one respect or another.
As this now returns functionality which has been missing for a while, it also exposed
Coco
buttons being quite ugly, and the pie_countdown inSlider
having a black background. I feel these are out of scope for this pull request, and the visual styling for these elements, now correctly working, should be asserted by the MATE Desktop team, and not myself. The only recommendation I would make is that with theSlider
theme, theactions_box
align with the center horizontally when usingaction_icons
, and retainend
alignment when using textual actions.The Solus MATE Notification Theme:
Nodoka
theme (part of core MATE Notification Daemon themes):