[gnome-music/wip/jfelder/dnd-icon: 3/3] songwidget: Style the drag handle icon
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/dnd-icon: 3/3] songwidget: Style the drag handle icon
- Date: Sat, 1 Feb 2020 15:14:19 +0000 (UTC)
commit ef6ea09510954e34a26b7f3de982ee21075e96a8
Author: Jean Felder <jfelder src gnome org>
Date: Sat Feb 1 15:22:26 2020 +0100
songwidget: Style the drag handle icon
This way it uses the same style as the other GNOME core
applications (GNOME settings for example).
data/org.gnome.Music.css | 9 +++++++++
data/ui/SongWidget.ui | 3 +++
2 files changed, 12 insertions(+)
---
diff --git a/data/org.gnome.Music.css b/data/org.gnome.Music.css
index 9242fc57..ea1c3cbe 100644
--- a/data/org.gnome.Music.css
+++ b/data/org.gnome.Music.css
@@ -163,3 +163,12 @@ padding: 0px;
.search-header {
font-weight: bold;
}
+
+/* dnd icon for SongWidget */
+.drag-handle {
+ color: alpha(@theme_fg_color, 0.4);
+}
+
+.drag-handle:backdrop {
+ color: alpha(@theme_unfocused_fg_color, 0.4);
+}
diff --git a/data/ui/SongWidget.ui b/data/ui/SongWidget.ui
index d3cd7f9f..63cfc100 100644
--- a/data/ui/SongWidget.ui
+++ b/data/ui/SongWidget.ui
@@ -25,6 +25,9 @@
<object class="GtkImage">
<property name="visible">True</property>
<property name="icon-name">list-drag-handle-symbolic</property>
+ <style>
+ <class name="drag-handle"/>
+ </style>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]