[gnome-control-center] network: Use margin-start/end instead of margin-left/right
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: Use margin-start/end instead of margin-left/right
- Date: Tue, 19 Nov 2013 20:40:17 +0000 (UTC)
commit d4ef8017432a265b91d4af3cfef9b8d0ad49e0cb
Author: Yosef Or Boczko <yoseforb gmail com>
Date: Tue Nov 19 22:26:49 2013 +0200
network: Use margin-start/end instead of margin-left/right
https://bugzilla.gnome.org/show_bug.cgi?id=712661
.../connection-editor/8021x-security-page.ui | 8 ++--
panels/network/connection-editor/ce-page-ip4.c | 44 ++++++++++----------
panels/network/connection-editor/ce-page-ip6.c | 44 ++++++++++----------
panels/network/connection-editor/details-page.ui | 4 +-
panels/network/connection-editor/ethernet-page.ui | 4 +-
panels/network/connection-editor/ip4-page.ui | 4 +-
panels/network/connection-editor/ip6-page.ui | 4 +-
.../connection-editor/net-connection-editor.c | 12 +++---
panels/network/connection-editor/reset-page.ui | 4 +-
panels/network/connection-editor/security-page.ui | 8 ++--
panels/network/connection-editor/vpn-page.ui | 4 +-
panels/network/connection-editor/wifi-page.ui | 4 +-
panels/network/net-device-ethernet.c | 8 ++--
panels/network/net-device-wifi.c | 8 ++--
panels/network/network-wifi.ui | 32 +++++++-------
panels/network/network.ui | 6 +-
16 files changed, 99 insertions(+), 99 deletions(-)
---
diff --git a/panels/network/connection-editor/8021x-security-page.ui
b/panels/network/connection-editor/8021x-security-page.ui
index 2e84287..5111dfb 100644
--- a/panels/network/connection-editor/8021x-security-page.ui
+++ b/panels/network/connection-editor/8021x-security-page.ui
@@ -10,8 +10,8 @@
<object class="GtkGrid" id="grid">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">50</property>
- <property name="margin_right">50</property>
+ <property name="margin_start">50</property>
+ <property name="margin_end">50</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="hexpand">True</property>
@@ -80,8 +80,8 @@
<object class="GtkGrid" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">50</property>
- <property name="margin_right">50</property>
+ <property name="margin_start">50</property>
+ <property name="margin_end">50</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="row_spacing">10</property>
diff --git a/panels/network/connection-editor/ce-page-ip4.c b/panels/network/connection-editor/ce-page-ip4.c
index f8dad08..15169b0 100644
--- a/panels/network/connection-editor/ce-page-ip4.c
+++ b/panels/network/connection-editor/ce-page-ip4.c
@@ -199,8 +199,8 @@ add_address_row (CEPageIP4 *page,
g_signal_connect_swapped (widget, "changed", G_CALLBACK (ce_page_changed), page);
g_object_set_data (G_OBJECT (row), "address", widget);
gtk_entry_set_text (GTK_ENTRY (widget), address);
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_widget_set_hexpand (widget, TRUE);
gtk_grid_attach (GTK_GRID (row_grid), widget, 2, 1, 1, 1);
@@ -212,8 +212,8 @@ add_address_row (CEPageIP4 *page,
g_signal_connect_swapped (widget, "changed", G_CALLBACK (ce_page_changed), page);
g_object_set_data (G_OBJECT (row), "network", widget);
gtk_entry_set_text (GTK_ENTRY (widget), network);
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_widget_set_hexpand (widget, TRUE);
gtk_grid_attach (GTK_GRID (row_grid), widget, 2, 2, 1, 1);
@@ -226,8 +226,8 @@ add_address_row (CEPageIP4 *page,
g_signal_connect_swapped (widget, "changed", G_CALLBACK (ce_page_changed), page);
g_object_set_data (G_OBJECT (row), "gateway", widget);
gtk_entry_set_text (GTK_ENTRY (widget), gateway);
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_widget_set_hexpand (widget, TRUE);
gtk_grid_attach (GTK_GRID (row_grid), widget, 2, 3, 1, 1);
@@ -241,8 +241,8 @@ add_address_row (CEPageIP4 *page,
g_object_set_data (G_OBJECT (row), "delete-button", delete_button);
gtk_grid_set_row_spacing (GTK_GRID (row_grid), 10);
- gtk_widget_set_margin_left (row_grid, 10);
- gtk_widget_set_margin_right (row_grid, 10);
+ gtk_widget_set_margin_start (row_grid, 10);
+ gtk_widget_set_margin_end (row_grid, 10);
gtk_widget_set_margin_top (row_grid, 10);
gtk_widget_set_margin_bottom (row_grid, 10);
gtk_widget_set_halign (row_grid, GTK_ALIGN_FILL);
@@ -365,8 +365,8 @@ add_dns_row (CEPageIP4 *page,
g_signal_connect_swapped (widget, "changed", G_CALLBACK (ce_page_changed), page);
g_object_set_data (G_OBJECT (row), "address", widget);
gtk_entry_set_text (GTK_ENTRY (widget), address);
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_widget_set_hexpand (widget, TRUE);
gtk_box_pack_start (GTK_BOX (row_box), widget, TRUE, TRUE, 0);
@@ -379,8 +379,8 @@ add_dns_row (CEPageIP4 *page,
gtk_box_pack_start (GTK_BOX (row_box), delete_button, FALSE, FALSE, 0);
g_object_set_data (G_OBJECT (row), "delete-button", delete_button);
- gtk_widget_set_margin_left (row_box, 10);
- gtk_widget_set_margin_right (row_box, 10);
+ gtk_widget_set_margin_start (row_box, 10);
+ gtk_widget_set_margin_end (row_box, 10);
gtk_widget_set_margin_top (row_box, 10);
gtk_widget_set_margin_bottom (row_box, 10);
gtk_widget_set_halign (row_box, GTK_ALIGN_FILL);
@@ -461,8 +461,8 @@ add_route_row (CEPageIP4 *page,
g_signal_connect_swapped (widget, "changed", G_CALLBACK (ce_page_changed), page);
g_object_set_data (G_OBJECT (row), "address", widget);
gtk_entry_set_text (GTK_ENTRY (widget), address);
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_widget_set_hexpand (widget, TRUE);
gtk_grid_attach (GTK_GRID (row_grid), widget, 2, 1, 1, 1);
@@ -474,8 +474,8 @@ add_route_row (CEPageIP4 *page,
g_signal_connect_swapped (widget, "changed", G_CALLBACK (ce_page_changed), page);
g_object_set_data (G_OBJECT (row), "netmask", widget);
gtk_entry_set_text (GTK_ENTRY (widget), netmask);
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_widget_set_hexpand (widget, TRUE);
gtk_grid_attach (GTK_GRID (row_grid), widget, 2, 2, 1, 1);
@@ -487,8 +487,8 @@ add_route_row (CEPageIP4 *page,
g_signal_connect_swapped (widget, "changed", G_CALLBACK (ce_page_changed), page);
g_object_set_data (G_OBJECT (row), "gateway", widget);
gtk_entry_set_text (GTK_ENTRY (widget), gateway);
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_widget_set_hexpand (widget, TRUE);
gtk_grid_attach (GTK_GRID (row_grid), widget, 2, 3, 1, 1);
@@ -505,8 +505,8 @@ add_route_row (CEPageIP4 *page,
gtk_entry_set_text (GTK_ENTRY (widget), s);
g_free (s);
}
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_widget_set_hexpand (widget, TRUE);
gtk_grid_attach (GTK_GRID (row_grid), widget, 2, 4, 1, 1);
@@ -522,8 +522,8 @@ add_route_row (CEPageIP4 *page,
g_object_set_data (G_OBJECT (row), "delete-button", delete_button);
gtk_grid_set_row_spacing (GTK_GRID (row_grid), 10);
- gtk_widget_set_margin_left (row_grid, 10);
- gtk_widget_set_margin_right (row_grid, 10);
+ gtk_widget_set_margin_start (row_grid, 10);
+ gtk_widget_set_margin_end (row_grid, 10);
gtk_widget_set_margin_top (row_grid, 10);
gtk_widget_set_margin_bottom (row_grid, 10);
gtk_widget_set_halign (row_grid, GTK_ALIGN_FILL);
diff --git a/panels/network/connection-editor/ce-page-ip6.c b/panels/network/connection-editor/ce-page-ip6.c
index c30a4b6..bd62970 100644
--- a/panels/network/connection-editor/ce-page-ip6.c
+++ b/panels/network/connection-editor/ce-page-ip6.c
@@ -201,8 +201,8 @@ add_address_row (CEPageIP6 *page,
g_signal_connect_swapped (widget, "changed", G_CALLBACK (ce_page_changed), page);
g_object_set_data (G_OBJECT (row), "address", widget);
gtk_entry_set_text (GTK_ENTRY (widget), address);
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_widget_set_hexpand (widget, TRUE);
gtk_grid_attach (GTK_GRID (row_grid), widget, 2, 1, 1, 1);
@@ -214,8 +214,8 @@ add_address_row (CEPageIP6 *page,
g_signal_connect_swapped (widget, "changed", G_CALLBACK (ce_page_changed), page);
g_object_set_data (G_OBJECT (row), "prefix", widget);
gtk_entry_set_text (GTK_ENTRY (widget), network);
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_widget_set_hexpand (widget, TRUE);
gtk_grid_attach (GTK_GRID (row_grid), widget, 2, 2, 1, 1);
@@ -227,8 +227,8 @@ add_address_row (CEPageIP6 *page,
g_signal_connect_swapped (widget, "changed", G_CALLBACK (ce_page_changed), page);
g_object_set_data (G_OBJECT (row), "gateway", widget);
gtk_entry_set_text (GTK_ENTRY (widget), gateway);
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_widget_set_hexpand (widget, TRUE);
gtk_grid_attach (GTK_GRID (row_grid), widget, 2, 3, 1, 1);
@@ -242,8 +242,8 @@ add_address_row (CEPageIP6 *page,
g_object_set_data (G_OBJECT (row), "delete-button", delete_button);
gtk_grid_set_row_spacing (GTK_GRID (row_grid), 10);
- gtk_widget_set_margin_left (row_grid, 10);
- gtk_widget_set_margin_right (row_grid, 10);
+ gtk_widget_set_margin_start (row_grid, 10);
+ gtk_widget_set_margin_end (row_grid, 10);
gtk_widget_set_margin_top (row_grid, 10);
gtk_widget_set_margin_bottom (row_grid, 10);
gtk_widget_set_halign (row_grid, GTK_ALIGN_FILL);
@@ -369,8 +369,8 @@ add_dns_row (CEPageIP6 *page,
g_signal_connect_swapped (widget, "changed", G_CALLBACK (ce_page_changed), page);
g_object_set_data (G_OBJECT (row), "address", widget);
gtk_entry_set_text (GTK_ENTRY (widget), address);
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_widget_set_hexpand (widget, TRUE);
gtk_box_pack_start (GTK_BOX (row_box), widget, TRUE, TRUE, 0);
@@ -383,8 +383,8 @@ add_dns_row (CEPageIP6 *page,
gtk_box_pack_start (GTK_BOX (row_box), delete_button, FALSE, FALSE, 0);
g_object_set_data (G_OBJECT (row), "delete-button", delete_button);
- gtk_widget_set_margin_left (row_box, 10);
- gtk_widget_set_margin_right (row_box, 10);
+ gtk_widget_set_margin_start (row_box, 10);
+ gtk_widget_set_margin_end (row_box, 10);
gtk_widget_set_margin_top (row_box, 10);
gtk_widget_set_margin_bottom (row_box, 10);
gtk_widget_set_halign (row_box, GTK_ALIGN_FILL);
@@ -465,8 +465,8 @@ add_route_row (CEPageIP6 *page,
g_signal_connect_swapped (widget, "changed", G_CALLBACK (ce_page_changed), page);
g_object_set_data (G_OBJECT (row), "address", widget);
gtk_entry_set_text (GTK_ENTRY (widget), address);
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_widget_set_hexpand (widget, TRUE);
gtk_grid_attach (GTK_GRID (row_grid), widget, 2, 1, 1, 1);
@@ -482,8 +482,8 @@ add_route_row (CEPageIP6 *page,
gtk_entry_set_text (GTK_ENTRY (widget), s);
g_free (s);
}
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_widget_set_hexpand (widget, TRUE);
gtk_grid_attach (GTK_GRID (row_grid), widget, 2, 2, 1, 1);
@@ -495,8 +495,8 @@ add_route_row (CEPageIP6 *page,
g_signal_connect_swapped (widget, "changed", G_CALLBACK (ce_page_changed), page);
g_object_set_data (G_OBJECT (row), "gateway", widget);
gtk_entry_set_text (GTK_ENTRY (widget), gateway);
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_widget_set_hexpand (widget, TRUE);
gtk_grid_attach (GTK_GRID (row_grid), widget, 2, 3, 1, 1);
@@ -513,8 +513,8 @@ add_route_row (CEPageIP6 *page,
gtk_entry_set_text (GTK_ENTRY (widget), s);
g_free (s);
}
- gtk_widget_set_margin_left (widget, 10);
- gtk_widget_set_margin_right (widget, 10);
+ gtk_widget_set_margin_start (widget, 10);
+ gtk_widget_set_margin_end (widget, 10);
gtk_widget_set_hexpand (widget, TRUE);
gtk_grid_attach (GTK_GRID (row_grid), widget, 2, 4, 1, 1);
@@ -530,8 +530,8 @@ add_route_row (CEPageIP6 *page,
g_object_set_data (G_OBJECT (row), "delete-button", delete_button);
gtk_grid_set_row_spacing (GTK_GRID (row_grid), 10);
- gtk_widget_set_margin_left (row_grid, 10);
- gtk_widget_set_margin_right (row_grid, 10);
+ gtk_widget_set_margin_start (row_grid, 10);
+ gtk_widget_set_margin_end (row_grid, 10);
gtk_widget_set_margin_top (row_grid, 10);
gtk_widget_set_margin_bottom (row_grid, 10);
gtk_widget_set_halign (row_grid, GTK_ALIGN_FILL);
diff --git a/panels/network/connection-editor/details-page.ui
b/panels/network/connection-editor/details-page.ui
index 67da7f9..d5988d1 100644
--- a/panels/network/connection-editor/details-page.ui
+++ b/panels/network/connection-editor/details-page.ui
@@ -5,8 +5,8 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
- <property name="margin_left">50</property>
- <property name="margin_right">50</property>
+ <property name="margin_start">50</property>
+ <property name="margin_end">50</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="hexpand">True</property>
diff --git a/panels/network/connection-editor/ethernet-page.ui
b/panels/network/connection-editor/ethernet-page.ui
index faed57d..59d1a35 100644
--- a/panels/network/connection-editor/ethernet-page.ui
+++ b/panels/network/connection-editor/ethernet-page.ui
@@ -55,8 +55,8 @@
<object class="GtkGrid" id="page">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">50</property>
- <property name="margin_right">50</property>
+ <property name="margin_start">50</property>
+ <property name="margin_end">50</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="hexpand">True</property>
diff --git a/panels/network/connection-editor/ip4-page.ui b/panels/network/connection-editor/ip4-page.ui
index 3607995..740cf48 100644
--- a/panels/network/connection-editor/ip4-page.ui
+++ b/panels/network/connection-editor/ip4-page.ui
@@ -13,8 +13,8 @@
<object class="GtkBox" id="box2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">20</property>
- <property name="margin_right">20</property>
+ <property name="margin_start">20</property>
+ <property name="margin_end">20</property>
<property name="margin_top">10</property>
<property name="margin_bottom">10</property>
<property name="orientation">vertical</property>
diff --git a/panels/network/connection-editor/ip6-page.ui b/panels/network/connection-editor/ip6-page.ui
index c8322ec..db5648d 100644
--- a/panels/network/connection-editor/ip6-page.ui
+++ b/panels/network/connection-editor/ip6-page.ui
@@ -13,8 +13,8 @@
<object class="GtkBox" id="box2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">20</property>
- <property name="margin_right">20</property>
+ <property name="margin_start">20</property>
+ <property name="margin_end">20</property>
<property name="margin_top">10</property>
<property name="margin_bottom">10</property>
<property name="orientation">vertical</property>
diff --git a/panels/network/connection-editor/net-connection-editor.c
b/panels/network/connection-editor/net-connection-editor.c
index 98d7e44..b596af2 100644
--- a/panels/network/connection-editor/net-connection-editor.c
+++ b/panels/network/connection-editor/net-connection-editor.c
@@ -779,8 +779,8 @@ select_vpn_type (NetConnectionEditor *editor, GtkListBox *list)
row = gtk_list_box_row_new ();
row_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
- gtk_widget_set_margin_left (row_box, 12);
- gtk_widget_set_margin_right (row_box, 12);
+ gtk_widget_set_margin_start (row_box, 12);
+ gtk_widget_set_margin_end (row_box, 12);
gtk_widget_set_margin_top (row_box, 12);
gtk_widget_set_margin_bottom (row_box, 12);
@@ -810,8 +810,8 @@ select_vpn_type (NetConnectionEditor *editor, GtkListBox *list)
row = gtk_list_box_row_new ();
row_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
- gtk_widget_set_margin_left (row_box, 12);
- gtk_widget_set_margin_right (row_box, 12);
+ gtk_widget_set_margin_start (row_box, 12);
+ gtk_widget_set_margin_end (row_box, 12);
gtk_widget_set_margin_top (row_box, 12);
gtk_widget_set_margin_bottom (row_box, 12);
@@ -870,8 +870,8 @@ net_connection_editor_add_connection (NetConnectionEditor *editor)
row_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
label = gtk_label_new (_(connection_types[i].name));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
- gtk_widget_set_margin_left (label, 12);
- gtk_widget_set_margin_right (label, 12);
+ gtk_widget_set_margin_start (label, 12);
+ gtk_widget_set_margin_end (label, 12);
gtk_widget_set_margin_top (label, 12);
gtk_widget_set_margin_bottom (label, 12);
gtk_box_pack_start (GTK_BOX (row_box), label, FALSE, TRUE, 0);
diff --git a/panels/network/connection-editor/reset-page.ui b/panels/network/connection-editor/reset-page.ui
index b101dd5..d4fe7dd 100644
--- a/panels/network/connection-editor/reset-page.ui
+++ b/panels/network/connection-editor/reset-page.ui
@@ -4,8 +4,8 @@
<object class="GtkGrid" id="page">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">50</property>
- <property name="margin_right">50</property>
+ <property name="margin_start">50</property>
+ <property name="margin_end">50</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="row_spacing">20</property>
diff --git a/panels/network/connection-editor/security-page.ui
b/panels/network/connection-editor/security-page.ui
index f2252ed..0c3dd92 100644
--- a/panels/network/connection-editor/security-page.ui
+++ b/panels/network/connection-editor/security-page.ui
@@ -10,8 +10,8 @@
<object class="GtkGrid" id="grid">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">50</property>
- <property name="margin_right">50</property>
+ <property name="margin_start">50</property>
+ <property name="margin_end">50</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="hexpand">True</property>
@@ -79,8 +79,8 @@
<object class="GtkGrid" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">50</property>
- <property name="margin_right">50</property>
+ <property name="margin_start">50</property>
+ <property name="margin_end">50</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="row_spacing">10</property>
diff --git a/panels/network/connection-editor/vpn-page.ui b/panels/network/connection-editor/vpn-page.ui
index 02ebb76..dea9a4a 100644
--- a/panels/network/connection-editor/vpn-page.ui
+++ b/panels/network/connection-editor/vpn-page.ui
@@ -4,8 +4,8 @@
<object class="GtkBox" id="page">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">50</property>
- <property name="margin_right">50</property>
+ <property name="margin_start">50</property>
+ <property name="margin_end">50</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="orientation">vertical</property>
diff --git a/panels/network/connection-editor/wifi-page.ui b/panels/network/connection-editor/wifi-page.ui
index 1b35f0c..3986015 100644
--- a/panels/network/connection-editor/wifi-page.ui
+++ b/panels/network/connection-editor/wifi-page.ui
@@ -4,8 +4,8 @@
<object class="GtkGrid" id="page">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">50</property>
- <property name="margin_right">50</property>
+ <property name="margin_start">50</property>
+ <property name="margin_end">50</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="hexpand">True</property>
diff --git a/panels/network/net-device-ethernet.c b/panels/network/net-device-ethernet.c
index 49dd895..a2450f0 100644
--- a/panels/network/net-device-ethernet.c
+++ b/panels/network/net-device-ethernet.c
@@ -311,8 +311,8 @@ add_row (NetDeviceEthernet *device, NMConnection *connection)
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_box_pack_start (GTK_BOX (row), box, FALSE, TRUE, 0);
widget = gtk_label_new (nm_connection_get_id (connection));
- gtk_widget_set_margin_left (widget, 12);
- gtk_widget_set_margin_right (widget, 12);
+ gtk_widget_set_margin_start (widget, 12);
+ gtk_widget_set_margin_end (widget, 12);
gtk_widget_set_margin_top (widget, 12);
gtk_widget_set_margin_bottom (widget, 12);
gtk_box_pack_start (GTK_BOX (box), widget, FALSE, TRUE, 0);
@@ -341,8 +341,8 @@ add_row (NetDeviceEthernet *device, NMConnection *connection)
gtk_widget_show (image);
widget = gtk_button_new ();
gtk_style_context_add_class (gtk_widget_get_style_context (widget), "image-button");
- gtk_widget_set_margin_left (widget, 12);
- gtk_widget_set_margin_right (widget, 12);
+ gtk_widget_set_margin_start (widget, 12);
+ gtk_widget_set_margin_end (widget, 12);
gtk_widget_set_margin_top (widget, 12);
gtk_widget_set_margin_bottom (widget, 12);
gtk_widget_show (widget);
diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c
index 49a79a8..4c0443e 100644
--- a/panels/network/net-device-wifi.c
+++ b/panels/network/net-device-wifi.c
@@ -1508,8 +1508,8 @@ make_row (GtkSizeGroup *rows,
gtk_size_group_add_widget (rows, row);
row_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
- gtk_widget_set_margin_left (row_box, 12);
- gtk_widget_set_margin_right (row_box, 12);
+ gtk_widget_set_margin_start (row_box, 12);
+ gtk_widget_set_margin_end (row_box, 12);
gtk_container_add (GTK_CONTAINER (row), row_box);
widget = NULL;
@@ -1748,8 +1748,8 @@ open_history (NetDeviceWifi *device_wifi)
gtk_widget_show (swin);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swin), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (swin), GTK_SHADOW_IN);
- gtk_widget_set_margin_left (swin, 50);
- gtk_widget_set_margin_right (swin, 50);
+ gtk_widget_set_margin_start (swin, 50);
+ gtk_widget_set_margin_end (swin, 50);
gtk_widget_set_margin_top (swin, 12);
gtk_widget_set_margin_bottom (swin, 12);
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), swin, TRUE, TRUE,
0);
diff --git a/panels/network/network-wifi.ui b/panels/network/network-wifi.ui
index 6061b12..6bb6e8e 100644
--- a/panels/network/network-wifi.ui
+++ b/panels/network/network-wifi.ui
@@ -157,8 +157,8 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
- <property name="margin_left">50</property>
- <property name="margin_right">50</property>
+ <property name="margin_start">50</property>
+ <property name="margin_end">50</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="hexpand">True</property>
@@ -481,8 +481,8 @@
<object class="GtkGrid" id="grid3">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">50</property>
- <property name="margin_right">50</property>
+ <property name="margin_start">50</property>
+ <property name="margin_end">50</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="hexpand">True</property>
@@ -697,8 +697,8 @@
<object class="GtkBox" id="box2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">20</property>
- <property name="margin_right">20</property>
+ <property name="margin_start">20</property>
+ <property name="margin_end">20</property>
<property name="margin_top">10</property>
<property name="margin_bottom">10</property>
<property name="orientation">vertical</property>
@@ -1245,8 +1245,8 @@ here</property>
<object class="GtkGrid" id="grid4">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">50</property>
- <property name="margin_right">50</property>
+ <property name="margin_start">50</property>
+ <property name="margin_end">50</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="hexpand">True</property>
@@ -1335,8 +1335,8 @@ here</property>
<object class="GtkGrid" id="grid5">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">50</property>
- <property name="margin_right">50</property>
+ <property name="margin_start">50</property>
+ <property name="margin_end">50</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="row_spacing">10</property>
@@ -1615,8 +1615,8 @@ here</property>
<object class="GtkBox" id="box_list_heading">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">12</property>
- <property name="margin_right">12</property>
+ <property name="margin_start">12</property>
+ <property name="margin_end">12</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="spacing">6</property>
@@ -1707,8 +1707,8 @@ here</property>
<property name="height_request">300</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="margin_left">12</property>
- <property name="margin_right">12</property>
+ <property name="margin_start">12</property>
+ <property name="margin_end">12</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="hscrollbar_policy">never</property>
@@ -1731,8 +1731,8 @@ here</property>
<object class="GtkBox" id="list_actions">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">12</property>
- <property name="margin_right">12</property>
+ <property name="margin_start">12</property>
+ <property name="margin_end">12</property>
<property name="margin_bottom">12</property>
<property name="hexpand">True</property>
<property name="spacing">6</property>
diff --git a/panels/network/network.ui b/panels/network/network.ui
index 212b1a6..9369836 100644
--- a/panels/network/network.ui
+++ b/panels/network/network.ui
@@ -77,8 +77,8 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">12</property>
- <property name="margin-left">6</property>
- <property name="margin-right">6</property>
+ <property name="margin-start">6</property>
+ <property name="margin-end">6</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
<child>
@@ -95,7 +95,7 @@
<object class="GtkVBox" id="vbox10">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_left">12</property>
+ <property name="margin_start">12</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]