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



commit e34a58763c9a5e50604d021db1cb1812d9d921f2
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>

 widgets/_quick-settings.scss | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/widgets/_quick-settings.scss b/widgets/_quick-settings.scss
index 869e15f..d4d10e0 100644
--- a/widgets/_quick-settings.scss
+++ b/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]