[rhythmbox] add a 6 pixel margin above source contents
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] add a 6 pixel margin above source contents
- Date: Wed, 28 Mar 2012 13:23:38 +0000 (UTC)
commit 9c8153df1c9ade3c17d735ef59193b536949a389
Author: Jonathan Matthew <jonathan d14n org>
Date: Wed Mar 28 22:37:44 2012 +1000
add a 6 pixel margin above source contents
plugins/iradio/rb-iradio-source.c | 1 +
podcast/rb-podcast-source.c | 1 +
sources/rb-auto-playlist-source.c | 1 +
sources/rb-browser-source.c | 1 +
sources/rb-static-playlist-source.c | 1 +
5 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/plugins/iradio/rb-iradio-source.c b/plugins/iradio/rb-iradio-source.c
index fb73959..06c8050 100644
--- a/plugins/iradio/rb-iradio-source.c
+++ b/plugins/iradio/rb-iradio-source.c
@@ -402,6 +402,7 @@ rb_iradio_source_constructed (GObject *object)
grid = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (grid), 6);
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
+ gtk_widget_set_margin_top (GTK_WIDGET (grid), 6);
gtk_grid_attach (GTK_GRID (grid), GTK_WIDGET (toolbar), 0, 0, 1, 1);
gtk_grid_attach (GTK_GRID (grid), paned, 0, 1, 1, 1);
diff --git a/podcast/rb-podcast-source.c b/podcast/rb-podcast-source.c
index ead1609..4622b1b 100644
--- a/podcast/rb-podcast-source.c
+++ b/podcast/rb-podcast-source.c
@@ -1545,6 +1545,7 @@ impl_constructed (GObject *object)
GTK_WIDGET (source->priv->posts), TRUE, FALSE);
grid = gtk_grid_new ();
+ gtk_widget_set_margin_top (GTK_WIDGET (grid), 6);
gtk_grid_set_column_spacing (GTK_GRID (grid), 6);
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
gtk_grid_attach (GTK_GRID (grid), GTK_WIDGET (toolbar), 0, 0, 1, 1);
diff --git a/sources/rb-auto-playlist-source.c b/sources/rb-auto-playlist-source.c
index 6a346d2..c9adc50 100644
--- a/sources/rb-auto-playlist-source.c
+++ b/sources/rb-auto-playlist-source.c
@@ -313,6 +313,7 @@ rb_auto_playlist_source_constructed (GObject *object)
grid = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (grid), 6);
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
+ gtk_widget_set_margin_top (GTK_WIDGET (grid), 6);
gtk_grid_attach (GTK_GRID (grid), GTK_WIDGET (priv->toolbar), 0, 0, 1, 1);
gtk_grid_attach (GTK_GRID (grid), priv->paned, 0, 1, 1, 1);
gtk_container_add (GTK_CONTAINER (source), grid);
diff --git a/sources/rb-browser-source.c b/sources/rb-browser-source.c
index 220b904..e135a1b 100644
--- a/sources/rb-browser-source.c
+++ b/sources/rb-browser-source.c
@@ -416,6 +416,7 @@ rb_browser_source_constructed (GObject *object)
content = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (content), 6);
gtk_grid_set_row_spacing (GTK_GRID (content), 6);
+ gtk_widget_set_margin_top (content, 6);
gtk_grid_attach (GTK_GRID (content), GTK_WIDGET (source->priv->toolbar), 0, 0, 1, 1);
gtk_widget_set_vexpand (paned, TRUE);
gtk_widget_set_hexpand (paned, TRUE);
diff --git a/sources/rb-static-playlist-source.c b/sources/rb-static-playlist-source.c
index 6c8722e..a8b4ee8 100644
--- a/sources/rb-static-playlist-source.c
+++ b/sources/rb-static-playlist-source.c
@@ -359,6 +359,7 @@ rb_static_playlist_source_constructed (GObject *object)
grid = gtk_grid_new ();
gtk_grid_set_column_spacing (GTK_GRID (grid), 6);
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
+ gtk_widget_set_margin_top (GTK_WIDGET (grid), 6);
gtk_grid_attach (GTK_GRID (grid), GTK_WIDGET (priv->toolbar), 0, 0, 1, 1);
gtk_grid_attach (GTK_GRID (grid), paned, 0, 1, 1, 1);
gtk_container_add (GTK_CONTAINER (source), grid);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]