[gnome-chess] Fix preferences dialog layout with recent GTK+



commit 3cc715d19767376477a7e3c43447ab6bb936775b
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Jun 25 01:29:21 2014 -0500

    Fix preferences dialog layout with recent GTK+

 data/preferences.ui |   22 +++++++++-------------
 1 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/data/preferences.ui b/data/preferences.ui
index 0b8138b..d0c923a 100644
--- a/data/preferences.ui
+++ b/data/preferences.ui
@@ -208,7 +208,7 @@
                   <object class="GtkLabel" id="side_label">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <property name="xalign">0</property>
+                    <property name="halign">start</property>
                     <property name="label" translatable="yes" comments="Preferences Dialog: Label before 
player side (white/black) combo box">_Play as:</property>
                     <property name="use_underline">True</property>
                     <property name="mnemonic_widget">side_combo</property>
@@ -224,7 +224,7 @@
                   <object class="GtkLabel" id="opposing_player_label">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <property name="xalign">0</property>
+                    <property name="halign">start</property>
                     <property name="label" translatable="yes" comments="Preferences Dialog: Label before 
opposing player combo box">_Opposing player:</property>
                     <property name="use_underline">True</property>
                     <property name="mnemonic_widget">opponent_combo</property>
@@ -238,7 +238,7 @@
                   <object class="GtkLabel" id="label2">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <property name="xalign">0</property>
+                    <property name="halign">start</property>
                     <property name="label" translatable="yes" comments="Preferences Dialog: Label before 
difficulty level combo box">_Difficulty:</property>
                     <property name="use_underline">True</property>
                     <property name="mnemonic_widget">difficulty_combo</property>
@@ -316,7 +316,7 @@
                 <child>
                   <object class="GtkAlignment" id="custom_duration_box">
                     <property name="can_focus">False</property>
-                    <property name="left_padding">18</property>
+                    <property name="margin_start">18</property>
                     <child>
                       <object class="GtkBox" id="hbox22">
                         <property name="visible">True</property>
@@ -372,7 +372,7 @@
                   <object class="GtkLabel" id="label3">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <property name="xalign">0</property>
+                    <property name="halign">start</property>
                     <property name="label" translatable="yes" comments="Preferences Dialog: Label before 
game timer settings">_Game duration:</property>
                     <property name="use_underline">True</property>
                     <property name="mnemonic_widget">duration_combo</property>
@@ -427,7 +427,7 @@
                       <object class="GtkLabel" id="label4">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
-                        <property name="xalign">0</property>
+                        <property name="halign">start</property>
                         <property name="label" translatable="yes" comments="Preferences dialog: Label to 
notify user that the settings are applied for the next game">Changes will take effect for the next 
game.</property>
                       </object>
                       <packing>
@@ -470,7 +470,7 @@
                   <object class="GtkLabel" id="board_label">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <property name="xalign">0</property>
+                    <property name="halign">start</property>
                     <property name="label" translatable="yes" comments="Preferences Dialog: Label before 
board orientation combo box">Board _orientation:</property>
                     <property name="use_underline">True</property>
                     <property name="mnemonic_widget">orientation_combo</property>
@@ -484,7 +484,7 @@
                   <object class="GtkLabel" id="format_label">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <property name="xalign">0</property>
+                    <property name="halign">start</property>
                     <property name="label" translatable="yes" comments="Preferences Dialog: Label before 
move format combo box">Move _format:</property>
                     <property name="use_underline">True</property>
                     <property name="mnemonic_widget">move_format_combo</property>
@@ -549,7 +549,6 @@
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
                         <property name="use_underline">True</property>
-                        <property name="xalign">0.5</property>
                         <property name="draw_indicator">True</property>
                         <signal name="toggled" handler="show_3d_toggle_cb" swapped="no"/>
                       </object>
@@ -583,7 +582,6 @@
                             <property name="can_focus">True</property>
                             <property name="receives_default">False</property>
                             <property name="use_underline">True</property>
-                            <property name="xalign">0.5</property>
                             <property name="draw_indicator">True</property>
                           </object>
                           <packing>
@@ -606,7 +604,6 @@
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
                         <property name="use_underline">True</property>
-                        <property name="xalign">0.5</property>
                         <property name="draw_indicator">True</property>
                       </object>
                       <packing>
@@ -622,7 +619,6 @@
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
                         <property name="use_underline">True</property>
-                        <property name="xalign">0.5</property>
                         <property name="draw_indicator">True</property>
                       </object>
                       <packing>
@@ -663,7 +659,7 @@
                   <object class="GtkLabel" id="piece_style_label">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <property name="xalign">0</property>
+                    <property name="halign">start</property>
                     <property name="label" translatable="yes" comments="Preferences Dialog: Label before 
piece style combo box">_Piece style:</property>
                     <property name="use_underline">True</property>
                     <property name="mnemonic_widget">piece_style_combo</property>


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