[gnome-music/wip/jfelder/fix-disc-label-color] discbox: Fix disc label color




commit 4624b208bf53e7e7e218f457a0fb8fe1a26bed97
Author: Jean Felder <jfelder src gnome org>
Date:   Wed Nov 25 00:23:12 2020 +0100

    discbox: Fix disc label color
    
    A previous commit fixed the style of the checkboxes in AlbumWidget by
    removing the 'content-view' css style of the AlbumWidget. This indeed
    fixed this issue but introduced a new one: the disc labels now have a
    wrong color.
    
    This new issue is fixed by updating the disc-label css style. The
    DiscBox activatable property is also set to False to prevent a color
    change on DiscBox hover.
    
    Related: 4667eee37989adcbb421df9c66a6dc937f4b429e

 data/org.gnome.Music.css | 1 -
 data/ui/DiscBox.ui       | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/org.gnome.Music.css b/data/org.gnome.Music.css
index 00e2ec7ac..980aae0ca 100644
--- a/data/org.gnome.Music.css
+++ b/data/org.gnome.Music.css
@@ -24,7 +24,6 @@
 }
 
 .disc-label {
-    background-color: @theme_bg_color;
     color: alpha(@theme_fg_color, 0.8);
     padding: 12px 0;
 }
diff --git a/data/ui/DiscBox.ui b/data/ui/DiscBox.ui
index 5d2ce0bff..cfb32403e 100644
--- a/data/ui/DiscBox.ui
+++ b/data/ui/DiscBox.ui
@@ -5,6 +5,7 @@
   <template parent="GtkListBoxRow" class="DiscBox">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
+    <property name="activatable">False</property>
     <property name="selectable">False</property>
     <child>
       <object class="GtkBox">


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