[gnome-music/wip/jfelder/3-38-disc-label-color] discbox: Fix disc label color
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/3-38-disc-label-color] discbox: Fix disc label color
- Date: Fri, 18 Dec 2020 14:14:39 +0000 (UTC)
commit 82b379d428f90352366142c27afdd84db0df7a49
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]