[gnome-control-center] printers: Use margin-start/end instead of margin-left/right



commit 84c792c7f499255156c46d15a054c8d7ba4a660b
Author: Yosef Or Boczko <yoseforb gmail com>
Date:   Tue Nov 19 22:28:28 2013 +0200

    printers: Use margin-start/end instead of margin-left/right
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712661

 panels/printers/authentication-dialog.ui |    4 ++--
 panels/printers/pp-options-dialog.c      |    8 ++++----
 panels/printers/printers.ui              |    4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/panels/printers/authentication-dialog.ui b/panels/printers/authentication-dialog.ui
index 25bc613..67102f3 100644
--- a/panels/printers/authentication-dialog.ui
+++ b/panels/printers/authentication-dialog.ui
@@ -69,8 +69,8 @@
               <object class="GtkGrid" id="grid1">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="margin_left">5</property>
-                <property name="margin_right">5</property>
+                <property name="margin_start">5</property>
+                <property name="margin_end">5</property>
                 <property name="row_spacing">5</property>
                 <property name="column_spacing">15</property>
                 <child>
diff --git a/panels/printers/pp-options-dialog.c b/panels/printers/pp-options-dialog.c
index a2860dd..dd03a32 100644
--- a/panels/printers/pp-options-dialog.c
+++ b/panels/printers/pp-options-dialog.c
@@ -352,10 +352,10 @@ ipp_option_add (IPPAttribute *attr_supported,
       context = gtk_widget_get_style_context (label);
       gtk_style_context_add_class (context, "dim-label");
       gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
-      gtk_widget_set_margin_left (label, 10);
+      gtk_widget_set_margin_start (label, 10);
       gtk_grid_attach (GTK_GRID (grid), label, 0, position, 1, 1);
 
-      gtk_widget_set_margin_left (widget, 20);
+      gtk_widget_set_margin_start (widget, 20);
       gtk_grid_attach (GTK_GRID (grid), widget, 1, position, 1, 1);
     }
 
@@ -383,10 +383,10 @@ ppd_option_add (ppd_option_t  option,
       context = gtk_widget_get_style_context (label);
       gtk_style_context_add_class (context, "dim-label");
       gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
-      gtk_widget_set_margin_left (label, 10);
+      gtk_widget_set_margin_start (label, 10);
       gtk_grid_attach (GTK_GRID (grid), label, 0, position, 1, 1);
 
-      gtk_widget_set_margin_left (widget, 20);
+      gtk_widget_set_margin_start (widget, 20);
       gtk_grid_attach (GTK_GRID (grid), widget, 1, position, 1, 1);
     }
 
diff --git a/panels/printers/printers.ui b/panels/printers/printers.ui
index b0852b0..55003fb 100644
--- a/panels/printers/printers.ui
+++ b/panels/printers/printers.ui
@@ -6,8 +6,8 @@
     <property name="border_width">10</property>
     <property name="orientation">vertical</property>
     <property name="spacing">10</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>


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