Commit 865b3f9a authored by Guido Gunther's avatar Guido Gunther
Browse files

media-player: Use larger icon

Center text artist / song verticaly to it. This looks odd
with Firefox since it tries to be clever and use 16:9 which
the gicon aligns renders to the top instead of centered.
Signed-off-by: Guido Gunther's avatarGuido Günther <>
parent f9816a73
......@@ -295,11 +295,9 @@ on_metadata_changed (PhoshMediaPlayer *self, GParamSpec *psepc, PhoshMprisDBusMe
g_autoptr (GFile) file = g_file_new_for_uri (url);
icon = g_file_icon_new (file);
gtk_image_set_from_gicon (GTK_IMAGE (self->img_art), icon, GTK_ICON_SIZE_DIALOG);
gtk_image_set_from_gicon (GTK_IMAGE (self->img_art), icon, -1);
} else {
gtk_image_set_from_icon_name (GTK_IMAGE (self->img_art),
gtk_image_set_from_icon_name (GTK_IMAGE (self->img_art), "audio-x-generic-symbolic", -1);
......@@ -70,6 +70,7 @@
<property name="can_focus">False</property>
<property name="relief">none</property>
<signal name="clicked" handler="btn_details_clicked_cb" object="PhoshMediaPlayer" swapped="yes"/>
<property name="valign">center</property>
<object class="GtkBox">
<property name="visible">True</property>
......@@ -80,6 +81,8 @@
<property name="can_focus">False</property>
<property name="margin">5</property>
<property name="icon_name">audio-x-generic-symbolic</property>
<property name="pixel_size">48</property>
<property name="valign">center</property>
<property name="expand">False</property>
......@@ -91,6 +94,7 @@
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="margin-left">6</property>
<property name="valign">center</property>
<object class="GtkLabel" id="lbl_artist">
<property name="visible">True</property>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment