[Xfce4-commits] <parole:bluesabre/gtk3> Make fallback image 256 to match artwork

Sean Davis noreply at xfce.org
Fri Oct 4 04:26:01 CEST 2013


Updating branch refs/heads/bluesabre/gtk3
         to 9a8bb2e1f24084e0fb2b039cf90abcd9bd5658dd (commit)
       from fd367c2058d1c6549d2def25c245c6ec7cc5bce5 (commit)

commit 9a8bb2e1f24084e0fb2b039cf90abcd9bd5658dd
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Thu Oct 3 22:24:00 2013 -0400

    Make fallback image 256 to match artwork

 data/interfaces/parole.ui |    4 +++-
 src/parole-player.c       |    2 --
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/data/interfaces/parole.ui b/data/interfaces/parole.ui
index ad5240b..f78c67f 100644
--- a/data/interfaces/parole.ui
+++ b/data/interfaces/parole.ui
@@ -752,10 +752,12 @@
                             <property name="homogeneous">True</property>
                             <child>
                               <object class="GtkImage" id="audio_cover">
+                                <property name="width_request">256</property>
+                                <property name="height_request">256</property>
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
                                 <property name="xalign">1</property>
-                                <property name="pixel_size">128</property>
+                                <property name="pixel_size">256</property>
                                 <property name="icon_name">audio-x-generic-symbolic</property>
                                 <property name="use_fallback">True</property>
                               </object>
diff --git a/src/parole-player.c b/src/parole-player.c
index bf6134c..506dd06 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -2717,7 +2717,6 @@ parole_audiobox_expose_event (GtkWidget *w, GdkEventExpose *ev, ParolePlayer *pl
     gtk_box_set_homogeneous( GTK_BOX(w), homogeneous );
     if (homogeneous)
     {
-        g_object_set( player->priv->audiobox_cover, "xalign", 1.0, NULL);
         gtk_box_set_child_packing (GTK_BOX(w),
                                    player->priv->audiobox_cover,
                                    TRUE,
@@ -2727,7 +2726,6 @@ parole_audiobox_expose_event (GtkWidget *w, GdkEventExpose *ev, ParolePlayer *pl
     }
     else
     {
-        g_object_set( player->priv->audiobox_cover, "xalign", 0.0, NULL);
         gtk_box_set_child_packing (GTK_BOX(w),
                                    player->priv->audiobox_cover,
                                    FALSE,


More information about the Xfce4-commits mailing list