diff options
author | Conor Curran <conor.curran@canonical.com> | 2012-03-30 16:48:32 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2012-03-30 16:48:32 +0100 |
commit | f8b37d6a67fdcc00a882129a8aca0382d4ab52e9 (patch) | |
tree | d806c757d48536e34abb9cd8c34ce7631ccba4fe /src | |
parent | f1182db17f363783178c191b1e7af328deea0372 (diff) | |
download | ayatana-indicator-sound-f8b37d6a67fdcc00a882129a8aca0382d4ab52e9.tar.gz ayatana-indicator-sound-f8b37d6a67fdcc00a882129a8aca0382d4ab52e9.tar.bz2 ayatana-indicator-sound-f8b37d6a67fdcc00a882129a8aca0382d4ab52e9.zip |
pad the top of the box around metadata
Diffstat (limited to 'src')
-rw-r--r-- | src/metadata-widget.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/metadata-widget.c b/src/metadata-widget.c index 238c5b1..282de7d 100644 --- a/src/metadata-widget.c +++ b/src/metadata-widget.c @@ -143,6 +143,12 @@ metadata_widget_init (MetadataWidget *self) priv->meta_data_h_box = hbox; priv->current_height = 1; + GtkWidget* spacer; + spacer = gtk_alignment_new (0,0,1,10); + gtk_widget_show (spacer); + gtk_container_add (GTK_CONTAINER (priv->meta_data_h_box), spacer); + gtk_alignment_set_padding (GTK_ALIGNMENT (spacer),10,10,10,10); + // image priv->album_art = gtk_image_new(); priv->image_path = g_string_new(""); @@ -247,7 +253,7 @@ metadata_widget_init (MetadataWidget *self) gtk_box_pack_start (GTK_BOX (tophbox), priv->player_label, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX(outer_v_box), tophbox, FALSE, FALSE, 0); - gtk_box_pack_start (GTK_BOX(outer_v_box), priv->meta_data_h_box, FALSE, FALSE, 5); + gtk_box_pack_start (GTK_BOX(outer_v_box), priv->meta_data_h_box, FALSE, FALSE, 0); gtk_container_add (GTK_CONTAINER (self), outer_v_box); |