From bedb98933f44dae97fde8e35f14a604a915b4184 Mon Sep 17 00:00:00 2001 From: psykose Date: Sat, 16 Nov 2024 14:14:17 +0100 Subject: [PATCH] enable heartge --- resources/app-icons/heart-empty-symbolic.svg | 10 ++++++++++ resources/app-icons/heart-full-symbolic.svg | 8 ++++++++ resources/audrey.gresource.xml | 4 ++++ src/ui/play_queue/song.rs | 6 +++--- 4 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 resources/app-icons/heart-empty-symbolic.svg create mode 100644 resources/app-icons/heart-full-symbolic.svg diff --git a/resources/app-icons/heart-empty-symbolic.svg b/resources/app-icons/heart-empty-symbolic.svg new file mode 100644 index 0000000..97cb4fa --- /dev/null +++ b/resources/app-icons/heart-empty-symbolic.svg @@ -0,0 +1,10 @@ + + + + + + + diff --git a/resources/app-icons/heart-full-symbolic.svg b/resources/app-icons/heart-full-symbolic.svg new file mode 100644 index 0000000..a4848e0 --- /dev/null +++ b/resources/app-icons/heart-full-symbolic.svg @@ -0,0 +1,8 @@ + + + + + diff --git a/resources/audrey.gresource.xml b/resources/audrey.gresource.xml index 12dffca..911af81 100644 --- a/resources/audrey.gresource.xml +++ b/resources/audrey.gresource.xml @@ -1,5 +1,9 @@ + + app-icons/heart-empty-symbolic.svg + app-icons/heart-full-symbolic.svg + style.css gtk/help-overlay.ui diff --git a/src/ui/play_queue/song.rs b/src/ui/play_queue/song.rs index 7e4391a..40154a3 100644 --- a/src/ui/play_queue/song.rs +++ b/src/ui/play_queue/song.rs @@ -103,10 +103,10 @@ mod imp { ) -> &'static str { /* TODO match starred { - None => "non-starred", - Some(_) => "starred", + None => "heart-empty-symbolic", + Some(_) => "heart-full-symbolic", } */ - "non-starred" + "heart-empty-symbolic" } // song widget+drag behavior taken from gnome music