[gnome-shell] status/volume: Request symbolic style for device menu items



commit d8dc85cc15608f11f00d54ed2974ccbe7463b1a2
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Aug 30 18:31:06 2022 +0200

    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>

 data/theme/gnome-shell-sass/widgets/_quick-settings.scss | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_quick-settings.scss 
b/data/theme/gnome-shell-sass/widgets/_quick-settings.scss
index 869e15f0bf..d4d10e066c 100644
--- a/data/theme/gnome-shell-sass/widgets/_quick-settings.scss
+++ b/data/theme/gnome-shell-sass/widgets/_quick-settings.scss
@@ -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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]