enable heartge

This commit is contained in:
psykose 2024-11-16 14:14:17 +01:00
parent 0f83e411fc
commit bedb98933f
Signed by: psykose
SSH key fingerprint: SHA256:pRMVjV3kRB6zl+wNx+sV8KoMnPqQAW6v8dNCxsCGZv8
4 changed files with 25 additions and 3 deletions

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="64px" height="64px" fill="#000000" version="1.1" viewBox="0 0 471.7 471.7" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
<!--
license CC0
https://www.svgrepo.com/svg/13666/heart
-->
<path d="m433.6 67.001c-24.7-24.7-57.4-38.2-92.3-38.2s-67.7 13.6-92.4 38.3l-12.9 12.9-13.1-13.1c-24.7-24.7-57.6-38.4-92.5-38.4-34.8 0-67.6 13.6-92.2 38.2-24.7 24.7-38.3 57.5-38.2 92.4 0 34.9 13.7 67.6 38.4 92.3l187.8 187.8c2.6 2.6 6.1 4 9.5 4s6.9-1.3 9.5-3.9l188.2-187.5c24.7-24.7 38.3-57.5 38.3-92.4 0.1-34.9-13.4-67.7-38.1-92.4zm-19.2 165.7-178.7 178-178.3-178.3c-19.6-19.6-30.4-45.6-30.4-73.3s10.7-53.7 30.3-73.2c19.5-19.5 45.5-30.3 73.1-30.3 27.7 0 53.8 10.8 73.4 30.4l22.6 22.6c5.3 5.3 13.8 5.3 19.1 0l22.4-22.4c19.6-19.6 45.7-30.4 73.3-30.4s53.6 10.8 73.2 30.3c19.6 19.6 30.3 45.6 30.3 73.3 0.1 27.7-10.7 53.7-30.3 73.3z" fill="#2e3434" fill-opacity=".55"/>
</svg>

After

Width:  |  Height:  |  Size: 918 B

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="64px" height="64px" fill="#000000" version="1.1" viewBox="0 0 471.7 471.7" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
<!--
license CC0
https://www.svgrepo.com/svg/13666/heart
-->
<path d="m433.6 67.001c-24.7-24.7-57.4-38.2-92.3-38.2s-67.7 13.6-92.4 38.3l-12.9 12.9-13.1-13.1c-24.7-24.7-57.6-38.4-92.5-38.4-34.8 0-67.6 13.6-92.2 38.2-24.7 24.7-38.3 57.5-38.2 92.4 0 34.9 13.7 67.6 38.4 92.3l187.8 187.8c2.6 2.6 6.1 4 9.5 4s6.9-1.3 9.5-3.9l188.2-187.5c24.7-24.7 38.3-57.5 38.3-92.4 0.1-34.9-13.4-67.7-38.1-92.4z" fill="#2e3434" fill-opacity=".7"/></svg>

After

Width:  |  Height:  |  Size: 618 B

View file

@ -1,5 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/eu/callcc/audrey/icons/scalable/status">
<file alias="heart-empty-symbolic.svg">app-icons/heart-empty-symbolic.svg</file>
<file alias="heart-full-symbolic.svg">app-icons/heart-full-symbolic.svg</file>
</gresource>
<gresource prefix="/eu/callcc/audrey">
<file>style.css</file>
<file preprocess="xml-stripblanks">gtk/help-overlay.ui</file>

View file

@ -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