[gnome-control-center] common: 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] common: Use margin-start/end instead of margin-left/right
- Date: Tue, 19 Nov 2013 20:41:03 +0000 (UTC)
commit bd1422980bc8e69e7885a98eae0890c312e9dd45
Author: Yosef Or Boczko <yoseforb gmail com>
Date: Tue Nov 19 22:29:53 2013 +0200
common: Use margin-start/end instead of margin-left/right
https://bugzilla.gnome.org/show_bug.cgi?id=712661
panels/common/cc-language-chooser.c | 4 ++--
panels/common/language-chooser.ui | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/panels/common/cc-language-chooser.c b/panels/common/cc-language-chooser.c
index ab18bfb..1c00497 100644
--- a/panels/common/cc-language-chooser.c
+++ b/panels/common/cc-language-chooser.c
@@ -58,8 +58,8 @@ padded_label_new (char *text, gboolean narrow)
gtk_widget_set_halign (widget, GTK_ALIGN_CENTER);
gtk_widget_set_margin_top (widget, 10);
gtk_widget_set_margin_bottom (widget, 10);
- gtk_widget_set_margin_left (widget, narrow ? 10 : 80);
- gtk_widget_set_margin_right (widget, narrow ? 10 : 80);
+ gtk_widget_set_margin_start (widget, narrow ? 10 : 80);
+ gtk_widget_set_margin_end (widget, narrow ? 10 : 80);
gtk_box_pack_start (GTK_BOX (widget), gtk_label_new (text), FALSE, FALSE, 0);
return widget;
diff --git a/panels/common/language-chooser.ui b/panels/common/language-chooser.ui
index 0bfcf09..55c2c9f 100644
--- a/panels/common/language-chooser.ui
+++ b/panels/common/language-chooser.ui
@@ -17,8 +17,8 @@
<property name="hscrollbar-policy">never</property>
<property name="vscrollbar-policy">never</property>
<property name="shadow-type">in</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>
@@ -41,8 +41,8 @@
<object class="GtkSearchEntry" id="language-filter-entry">
<property name="visible">False</property>
<property name="hexpand">True</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>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]