[rhythmbox] header: control cover art image visibility properly



commit b9a13191a23fc57a1e9b31a753775b91ff84f0d8
Author: Jonathan Matthew <jonathan d14n org>
Date:   Mon May 2 12:01:37 2016 +1000

    header: control cover art image visibility properly
    
    Initial visibility gets applied during construction of the header, but that
    gets overridden when the entire header is made visible.  Setting the image
    to no-show-all fixes this.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=765833

 widgets/rb-header.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/widgets/rb-header.c b/widgets/rb-header.c
index f77916e..bf4ac27 100644
--- a/widgets/rb-header.c
+++ b/widgets/rb-header.c
@@ -398,6 +398,7 @@ rb_header_constructed (GObject *object)
        header->priv->image = GTK_WIDGET (g_object_new (RB_TYPE_FADING_IMAGE,
                                                        "fallback", RB_STOCK_MISSING_ARTWORK,
                                                        NULL));
+       gtk_widget_set_no_show_all (header->priv->image, TRUE);
        g_signal_connect (header->priv->image,
                          "pixbuf-dropped",
                          G_CALLBACK (pixbuf_dropped_cb),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]