[totem] main: Use "margin-start" and "margin-end"



commit 3c0d4a59f99443f9e16a1779d839ea570ab45984
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Feb 5 10:26:18 2014 +0100

    main: Use "margin-start" and "margin-end"
    
    Rather than margin-left and margin-right.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723627

 data/controls.ui   |    4 ++--
 src/totem-object.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/controls.ui b/data/controls.ui
index 97c31d5..a5d3f99 100644
--- a/data/controls.ui
+++ b/data/controls.ui
@@ -42,7 +42,7 @@
                   <object class="BaconTimeLabel" id="time_label">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <property name="margin_left">16</property>
+                    <property name="margin_start">16</property>
                   </object>
                   <packing>
                     <property name="expand">False</property>
@@ -68,7 +68,7 @@
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="remaining">True</property>
-                    <property name="margin_right">16</property>
+                    <property name="margin_end">16</property>
                   </object>
                   <packing>
                     <property name="expand">False</property>
diff --git a/src/totem-object.c b/src/totem-object.c
index ea9ed3d..2e06bde 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -3652,8 +3652,8 @@ create_control_button (TotemObject *totem,
        gtk_style_context_add_class (gtk_widget_get_style_context (button), "image-button");
        if (g_str_equal (action_name, "play")) {
                g_object_set (G_OBJECT (image),
-                             "margin-left", 16,
-                             "margin-right", 16,
+                             "margin-start", 16,
+                             "margin-end", 16,
                              NULL);
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]