[gnome-control-center] network: add some spacing between rows
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: add some spacing between rows
- Date: Mon, 11 Feb 2013 16:44:02 +0000 (UTC)
commit 2acd6a5303e44f12226bc3267fc4c7cdc2241574
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Feb 7 16:00:58 2013 -0500
network: add some spacing between rows
In the IPv4/IPv6 pages the grid packing address controls has no spacing
at all.
https://bugzilla.gnome.org/show_bug.cgi?id=693357
panels/network/connection-editor/ce-page-ip4.c | 2 ++
panels/network/connection-editor/ce-page-ip6.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/panels/network/connection-editor/ce-page-ip4.c b/panels/network/connection-editor/ce-page-ip4.c
index 7d6fbcb..d35f249 100644
--- a/panels/network/connection-editor/ce-page-ip4.c
+++ b/panels/network/connection-editor/ce-page-ip4.c
@@ -218,6 +218,7 @@ add_address_row (CEPageIP4 *page,
gtk_grid_attach (GTK_GRID (row), delete_button, 3, 2, 1, 1);
g_object_set_data (G_OBJECT (row), "delete-button", delete_button);
+ gtk_grid_set_row_spacing (GTK_GRID (row), 10);
gtk_widget_set_margin_left (row, 10);
gtk_widget_set_margin_right (row, 10);
gtk_widget_set_margin_top (row, 10);
@@ -472,6 +473,7 @@ add_route_row (CEPageIP4 *page,
gtk_grid_attach (GTK_GRID (row), delete_button, 3, 1, 1, 4);
g_object_set_data (G_OBJECT (row), "delete-button", delete_button);
+ gtk_grid_set_row_spacing (GTK_GRID (row), 10);
gtk_widget_set_margin_left (row, 10);
gtk_widget_set_margin_right (row, 10);
gtk_widget_set_margin_top (row, 10);
diff --git a/panels/network/connection-editor/ce-page-ip6.c b/panels/network/connection-editor/ce-page-ip6.c
index e3e31b8..cbad740 100644
--- a/panels/network/connection-editor/ce-page-ip6.c
+++ b/panels/network/connection-editor/ce-page-ip6.c
@@ -220,6 +220,7 @@ add_address_row (CEPageIP6 *page,
gtk_grid_attach (GTK_GRID (row), delete_button, 3, 2, 1, 1);
g_object_set_data (G_OBJECT (row), "delete-button", delete_button);
+ gtk_grid_set_row_spacing (GTK_GRID (row), 10);
gtk_widget_set_margin_left (row, 10);
gtk_widget_set_margin_right (row, 10);
gtk_widget_set_margin_top (row, 10);
@@ -480,6 +481,7 @@ add_route_row (CEPageIP6 *page,
gtk_grid_attach (GTK_GRID (row), delete_button, 3, 1, 1, 4);
g_object_set_data (G_OBJECT (row), "delete-button", delete_button);
+ gtk_grid_set_row_spacing (GTK_GRID (row), 10);
gtk_widget_set_margin_left (row, 10);
gtk_widget_set_margin_right (row, 10);
gtk_widget_set_margin_top (row, 10);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]