[gnome-control-center] wacom: 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] wacom: Use margin-start/end instead of margin-left/right
- Date: Tue, 19 Nov 2013 20:41:43 +0000 (UTC)
commit ae36409c5f4fa626a4ae73ede7c1a0bca748369f
Author: Yosef Or Boczko <yoseforb gmail com>
Date: Tue Nov 19 22:34:39 2013 +0200
wacom: Use margin-start/end instead of margin-left/right
https://bugzilla.gnome.org/show_bug.cgi?id=712661
panels/wacom/cc-wacom-page.c | 2 +-
panels/wacom/cc-wacom-panel.c | 4 ++--
panels/wacom/cc-wacom-stylus-page.c | 2 +-
panels/wacom/gnome-wacom-properties.ui | 2 +-
panels/wacom/wacom-stylus-page.ui | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-page.c b/panels/wacom/cc-wacom-page.c
index 6d73704..1d1e298 100644
--- a/panels/wacom/cc-wacom-page.c
+++ b/panels/wacom/cc-wacom-page.c
@@ -790,7 +790,7 @@ cc_wacom_page_init (CcWacomPage *self)
priv->nav = cc_wacom_nav_button_new ();
gtk_widget_set_halign (priv->nav, GTK_ALIGN_END);
- gtk_widget_set_margin_left (priv->nav, 10);
+ gtk_widget_set_margin_start (priv->nav, 10);
gtk_grid_attach (GTK_GRID (box), priv->nav, 1, 0, 1, 1);
priv->cancellable = g_cancellable_new ();
diff --git a/panels/wacom/cc-wacom-panel.c b/panels/wacom/cc-wacom-panel.c
index f1cdc68..a17aa64 100644
--- a/panels/wacom/cc-wacom-panel.c
+++ b/panels/wacom/cc-wacom-panel.c
@@ -506,8 +506,8 @@ cc_wacom_panel_init (CcWacomPanel *self)
gtk_container_set_border_width (GTK_CONTAINER (notebook), 0);
g_object_set (G_OBJECT (notebook),
"margin-top", 6,
- "margin-right", 30,
- "margin-left", 30,
+ "margin-end", 30,
+ "margin-start", 30,
"margin-bottom", 30,
NULL);
diff --git a/panels/wacom/cc-wacom-stylus-page.c b/panels/wacom/cc-wacom-stylus-page.c
index b063d52..6f8124f 100644
--- a/panels/wacom/cc-wacom-stylus-page.c
+++ b/panels/wacom/cc-wacom-stylus-page.c
@@ -329,7 +329,7 @@ cc_wacom_stylus_page_init (CcWacomStylusPage *self)
priv->nav = cc_wacom_nav_button_new ();
gtk_widget_set_halign (priv->nav, GTK_ALIGN_END);
- gtk_widget_set_margin_left (priv->nav, 10);
+ gtk_widget_set_margin_start (priv->nav, 10);
gtk_grid_attach (GTK_GRID (box), priv->nav, 1, 0, 1, 1);
}
diff --git a/panels/wacom/gnome-wacom-properties.ui b/panels/wacom/gnome-wacom-properties.ui
index 82e80ac..4785c38 100644
--- a/panels/wacom/gnome-wacom-properties.ui
+++ b/panels/wacom/gnome-wacom-properties.ui
@@ -303,7 +303,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
- <property name="margin_left">16</property>
+ <property name="margin_start">16</property>
<property name="row_spacing">10</property>
<property name="column_spacing">10</property>
<child>
diff --git a/panels/wacom/wacom-stylus-page.ui b/panels/wacom/wacom-stylus-page.ui
index 3da37e1..fcc74da 100644
--- a/panels/wacom/wacom-stylus-page.ui
+++ b/panels/wacom/wacom-stylus-page.ui
@@ -105,7 +105,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
- <property name="margin_left">16</property>
+ <property name="margin_start">16</property>
<property name="margin_top">6</property>
<property name="row_spacing">10</property>
<property name="column_spacing">10</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]