Skip to content

Commit

Permalink
fix: make the albumart icon a symbolic icon
Browse files Browse the repository at this point in the history
  • Loading branch information
vixalien authored and andyholmes committed Mar 31, 2024
1 parent 99c8dd0 commit 28e59d6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/libvalent/ui/libvalent-ui.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</gresource>
<gresource prefix="/ca/andyholmes/Valent/icons">
<file preprocess="xml-stripblanks" alias="scalable/actions/valent-help-symbolic.svg">data/icons/hicolor/scalable/ui/valent-help-symbolic.svg</file>
<file preprocess="xml-stripblanks" alias="scalable/actions/valent-media-albumart.svg">data/icons/hicolor/scalable/ui/valent-media-albumart.svg</file>
<file preprocess="xml-stripblanks" alias="scalable/actions/valent-media-albumart-symbolic.svg">data/icons/hicolor/scalable/ui/valent-media-albumart-symbolic.svg</file>
<file preprocess="xml-stripblanks" alias="scalable/actions/valent-other-symbolic.svg">data/icons/hicolor/scalable/ui/valent-other-symbolic.svg</file>
<file preprocess="xml-stripblanks" alias="scalable/actions/valent-plugins-symbolic.svg">data/icons/hicolor/scalable/ui/valent-plugins-symbolic.svg</file>
<file preprocess="xml-stripblanks" alias="scalable/actions/valent-status-symbolic.svg">data/icons/hicolor/scalable/ui/valent-status-symbolic.svg</file>
Expand Down
2 changes: 1 addition & 1 deletion src/libvalent/ui/valent-media-remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ valent_media_remote_clear (ValentMediaRemote *self)
{
GtkWidget *widget = GTK_WIDGET (self);

gtk_image_set_from_icon_name (self->media_art, "valent-media-albumart");
gtk_image_set_from_icon_name (self->media_art, "valent-media-albumart-symbolic");

gtk_stack_set_visible_child_name (self->media_art_stack, "fallback");
gtk_label_set_label (self->media_artist, "");
Expand Down
6 changes: 3 additions & 3 deletions src/libvalent/ui/valent-media-remote.ui
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<property name="spacing">6</property>
<child>
<object class="GtkImage">
<property name="icon-name">valent-media-albumart</property>
<property name="icon-name">valent-media-albumart-symbolic</property>
<property name="pixel-size">16</property>
</object>
</child>
Expand Down Expand Up @@ -108,7 +108,7 @@
<property name="child">
<object class="GtkImage">
<property name="accessible-role">presentation</property>
<property name="icon-name">valent-media-albumart</property>
<property name="icon-name">valent-media-albumart-symbolic</property>
<property name="overflow">hidden</property>
<property name="pixel-size">128</property>
<property name="opacity">0.25</property>
Expand All @@ -122,7 +122,7 @@
<property name="child">
<object class="GtkImage" id="media_art">
<property name="accessible-role">presentation</property>
<property name="icon-name">valent-media-albumart</property>
<property name="icon-name">valent-media-albumart-symbolic</property>
<property name="overflow">hidden</property>
<property name="pixel-size">256</property>
</object>
Expand Down

0 comments on commit 28e59d6

Please sign in to comment.