status/volume: Request symbolic style for device menu items

We get device icons from gnome-volume-control, which itself may
get them from pulseaudio. That is, we don't have control over
whether icon names are symbolic.

As we do want menu items to use symbolic icons, enforce that
via CSS instead.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5805

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2456>
This commit is contained in:
Florian Müllner 2022-08-30 18:31:06 +02:00 committed by Marge Bot
parent 646cb41e83
commit d8dc85cc15

View File

@ -64,6 +64,8 @@
padding: $base_padding*2.75;
margin: 0 $base_padding*2.75;
.popup-menu-item > StIcon { -st-icon-style: symbolic; }
& .header {
spacing-rows: 0.5 * $base_padding;
spacing-columns: $base_padding*2;