[gnome-chess/arnaudb/wip/gtk4: 11/31] Clean a bit UI files.



commit 65f01d7a04e7d09357aa3e25e8ab2607889e736e
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Apr 7 18:29:07 2020 +0200

    Clean a bit UI files.

 data/gnome-chess.ui             | 134 ++++++++++-----------
 data/preferences.ui             | 256 ++++++++++++++++++++--------------------
 data/promotion-type-selector.ui | 174 +++++++++++++--------------
 3 files changed, 282 insertions(+), 282 deletions(-)
---
diff --git a/data/gnome-chess.ui b/data/gnome-chess.ui
index deddfc7..b1194fc 100644
--- a/data/gnome-chess.ui
+++ b/data/gnome-chess.ui
@@ -39,7 +39,7 @@
       </item>
     </section>
   </menu>
-  <object class="GtkListStore" id="history_model">
+  <object class="GtkListStore" id="history-model">
     <columns>
       <!-- column-name label -->
       <column type="gchararray"/>
@@ -48,22 +48,22 @@
     </columns>
   </object>
   <object class="GtkApplicationWindow" id="gnome_chess_app">
-    <property name="can_focus">False</property>
-    <property name="default_width">700</property>
+    <property name="can-focus">False</property>
+    <property name="default-width">700</property>
     <signal name="delete-event" handler="gnome_chess_app_delete_event_cb" swapped="no"/>
     <child type="titlebar">
       <object class="GtkHeaderBar" id="headerbar">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
-        <property name="show_close_button">True</property>
+        <property name="can-focus">False</property>
+        <property name="show-close-button">True</property>
         <property name="title" translatable="yes">Chess</property>
         <child>
-          <object class="GtkButton" id="new_game_button">
+          <object class="GtkButton" id="new-game-button">
             <property name="visible">True</property>
             <property name="halign">center</property>
             <property name="valign">center</property>
             <property name="label" translatable="yes">_New Game</property>
-            <property name="use_underline">True</property>
+            <property name="use-underline">True</property>
             <property name="action-name">win.new</property>
             <style>
               <class name="text-button"/>
@@ -71,7 +71,7 @@
           </object>
         </child>
         <child>
-          <object class="GtkButton" id="undo_move_button">
+          <object class="GtkButton" id="undo-move-button">
             <property name="visible">True</property>
             <property name="valign">center</property>
             <property name="action-name">win.undo</property>
@@ -82,9 +82,9 @@
             <child>
               <object class="GtkImage">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="icon_size">1</property>
-                <property name="icon_name">edit-undo-symbolic</property>
+                <property name="can-focus">False</property>
+                <property name="icon-size">1</property>
+                <property name="icon-name">edit-undo-symbolic</property>
               </object>
             </child>
           </object>
@@ -98,38 +98,38 @@
               <class name="image-button"/>
             </style>
             <child>
-              <object class="GtkImage" id="pause_image">
+              <object class="GtkImage">
                 <property name="visible">True</property>
-                <property name="icon_size">1</property>
+                <property name="icon-size">1</property>
               </object>
             </child>
           </object>
         </child>
         <child>
-          <object class="GtkMenuButton" id="menu_button">
+          <object class="GtkMenuButton">
             <property name="visible">True</property>
-            <property name="can_focus">True</property>
+            <property name="can-focus">True</property>
             <property name="menu-model">app-menu</property>
             <accelerator key="F10" signal="activate"/>
             <child>
               <object class="GtkImage">
                 <property name="visible">True</property>
-                <property name="icon_name">open-menu-symbolic</property>
-                <property name="icon_size">1</property>
+                <property name="icon-name">open-menu-symbolic</property>
+                <property name="icon-size">1</property>
               </object>
             </child>
           </object>
           <packing>
-            <property name="pack_type">end</property>
+            <property name="pack-type">end</property>
             <property name="position">1</property>
           </packing>
         </child>
       </object>
     </child>
     <child>
-      <object class="GtkBox" id="main_vbox">
+      <object class="GtkBox">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
+        <property name="can-focus">False</property>
         <property name="orientation">vertical</property>
         <child>
           <object class="GtkInfoBar" id="info_bar">
@@ -137,28 +137,28 @@
           </object>
         </child>
         <child>
-          <object class="GtkBox" id="view_box">
+          <object class="GtkBox">
             <property name="visible">True</property>
-            <property name="can_focus">False</property>
+            <property name="can-focus">False</property>
             <property name="orientation">vertical</property>
             <property name="spacing">3</property>
             <child>
               <object class="GtkBox" id="navigation_box">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
+                <property name="can-focus">False</property>
                 <property name="spacing">6</property>
                 <property name="margin-left">6</property>
                 <property name="margin-right">6</property>
                 <property name="margin-bottom">6</property>
                 <child>
-                  <object class="GtkBox" id="history_box">
+                  <object class="GtkBox">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</property>
                     <property name="spacing">6</property>
                     <child>
-                      <object class="GtkBox" id="left_nav_box">
+                      <object class="GtkBox">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can-focus">False</property>
                         <property name="homogeneous">True</property>
                         <style>
                           <class name="raised"/>
@@ -168,9 +168,9 @@
                           <object class="GtkButton" id="first_move_button">
                             <property name="visible">True</property>
                             <property name="sensitive">False</property>
-                            <property name="can_focus">True</property>
-                            <property name="receives_default">False</property>
-                            <property name="tooltip_text" translatable="yes" comments="Tooltip on the show 
first move (i.e. game start) navigation button">Rewind to the game start</property>
+                            <property name="can-focus">True</property>
+                            <property name="receives-default">False</property>
+                            <property name="tooltip-text" translatable="yes" comments="Tooltip on the show 
first move (i.e. game start) navigation button">Rewind to the game start</property>
                             <accelerator key="Left" signal="activate" modifiers="GDK_SHIFT_MASK | 
GDK_MOD1_MASK"/>
                             <signal name="clicked" handler="history_start_clicked_cb" swapped="no"/>
                             <style>
@@ -179,9 +179,9 @@
                             <child>
                               <object class="GtkImage">
                                 <property name="visible">True</property>
-                                <property name="can_focus">False</property>
-                                <property name="icon_size">1</property>
-                                <property name="icon_name">go-first-symbolic</property>
+                                <property name="can-focus">False</property>
+                                <property name="icon-size">1</property>
+                                <property name="icon-name">go-first-symbolic</property>
                               </object>
                             </child>
                           </object>
@@ -195,9 +195,9 @@
                           <object class="GtkButton" id="prev_move_button">
                             <property name="visible">True</property>
                             <property name="sensitive">False</property>
-                            <property name="can_focus">True</property>
-                            <property name="receives_default">False</property>
-                            <property name="tooltip_text" translatable="yes" comments="Tooltip on the show 
previous move navigation button">Show the previous move</property>
+                            <property name="can-focus">True</property>
+                            <property name="receives-default">False</property>
+                            <property name="tooltip-text" translatable="yes" comments="Tooltip on the show 
previous move navigation button">Show the previous move</property>
                             <accelerator key="Left" signal="activate" modifiers="GDK_MOD1_MASK"/>
                             <signal name="clicked" handler="history_previous_clicked_cb" swapped="no"/>
                             <style>
@@ -206,9 +206,9 @@
                             <child>
                               <object class="GtkImage">
                                 <property name="visible">True</property>
-                                <property name="can_focus">False</property>
-                                <property name="icon_size">1</property>
-                                <property name="icon_name">go-previous-symbolic</property>
+                                <property name="can-focus">False</property>
+                                <property name="icon-size">1</property>
+                                <property name="icon-name">go-previous-symbolic</property>
                               </object>
                             </child>
                           </object>
@@ -222,9 +222,9 @@
                           <object class="GtkButton" id="next_move_button">
                             <property name="visible">True</property>
                             <property name="sensitive">False</property>
-                            <property name="can_focus">True</property>
-                            <property name="receives_default">False</property>
-                            <property name="tooltip_text" translatable="yes" comments="Tooltip on the show 
next move navigation button">Show the next move</property>
+                            <property name="can-focus">True</property>
+                            <property name="receives-default">False</property>
+                            <property name="tooltip-text" translatable="yes" comments="Tooltip on the show 
next move navigation button">Show the next move</property>
                             <accelerator key="Right" signal="activate" modifiers="GDK_MOD1_MASK"/>
                             <signal name="clicked" handler="history_next_clicked_cb" swapped="no"/>
                             <style>
@@ -233,9 +233,9 @@
                             <child>
                               <object class="GtkImage">
                                 <property name="visible">True</property>
-                                <property name="can_focus">False</property>
-                                <property name="icon_size">1</property>
-                                <property name="icon_name">go-next-symbolic</property>
+                                <property name="can-focus">False</property>
+                                <property name="icon-size">1</property>
+                                <property name="icon-name">go-next-symbolic</property>
                               </object>
                             </child>
                           </object>
@@ -249,9 +249,9 @@
                           <object class="GtkButton" id="last_move_button">
                             <property name="visible">True</property>
                             <property name="sensitive">False</property>
-                            <property name="can_focus">True</property>
-                            <property name="receives_default">False</property>
-                            <property name="tooltip_text" translatable="yes" comments="Tooltip on the show 
current move navigation button">Show the current move</property>
+                            <property name="can-focus">True</property>
+                            <property name="receives-default">False</property>
+                            <property name="tooltip-text" translatable="yes" comments="Tooltip on the show 
current move navigation button">Show the current move</property>
                             <accelerator key="Right" signal="activate" modifiers="GDK_SHIFT_MASK | 
GDK_MOD1_MASK"/>
                             <signal name="clicked" handler="history_latest_clicked_cb" swapped="no"/>
                             <style>
@@ -260,9 +260,9 @@
                             <child>
                               <object class="GtkImage">
                                 <property name="visible">True</property>
-                                <property name="can_focus">False</property>
-                                <property name="icon_size">1</property>
-                                <property name="icon_name">go-last-symbolic</property>
+                                <property name="can-focus">False</property>
+                                <property name="icon-size">1</property>
+                                <property name="icon-name">go-last-symbolic</property>
                               </object>
                             </child>
                           </object>
@@ -282,11 +282,11 @@
                     <child>
                       <object class="GtkComboBox" id="history_combo">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="model">history_model</property>
+                        <property name="can-focus">False</property>
+                        <property name="model">history-model</property>
                         <signal name="changed" handler="history_combo_changed_cb" swapped="no"/>
                         <child>
-                          <object class="GtkCellRendererText" id="history_combo_cellrenderer">
+                          <object class="GtkCellRendererText">
                             <property name="ellipsize">PANGO_ELLIPSIZE_END</property>
                           </object>
                           <attributes>
@@ -308,17 +308,17 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkBox" id="right_nav_box">
+                  <object class="GtkBox">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</property>
                     <property name="spacing">6</property>
                     <property name="homogeneous">True</property>
                     <child>
                       <object class="GtkDrawingArea" id="white_time_label">
                         <!-- -1 means compute at runtime -->
-                        <property name="width_request">-1</property>
+                        <property name="width-request">-1</property>
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can-focus">False</property>
                         <signal name="draw" handler="white_time_draw_cb" swapped="no"/>
                       </object>
                       <packing>
@@ -330,9 +330,9 @@
                     <child>
                       <object class="GtkDrawingArea" id="black_time_label">
                         <!-- -1 means compute at runtime -->
-                        <property name="width_request">-1</property>
+                        <property name="width-request">-1</property>
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can-focus">False</property>
                         <signal name="draw" handler="black_time_draw_cb" swapped="no"/>
                       </object>
                       <packing>
@@ -352,14 +352,14 @@
               <packing>
                 <property name="expand">False</property>
                 <property name="fill">True</property>
-                <property name="pack_type">end</property>
+                <property name="pack-type">end</property>
                 <property name="position">0</property>
               </packing>
             </child>
             <child>
               <object class="GtkAlignment" id="view_container">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
+                <property name="can-focus">False</property>
                 <child>
                   <placeholder/>
                 </child>
@@ -367,7 +367,7 @@
               <packing>
                 <property name="expand">True</property>
                 <property name="fill">True</property>
-                <property name="pack_type">end</property>
+                <property name="pack-type">end</property>
                 <property name="position">1</property>
               </packing>
             </child>
@@ -381,15 +381,15 @@
       </object>
     </child>
   </object>
-  <object class="GtkSizeGroup" id="header_bar_buttons_sizegroup">
+  <object class="GtkSizeGroup">
     <property name="mode">vertical</property>
     <widgets>
-      <widget name="new_game_button"/>
-      <widget name="undo_move_button"/>
+      <widget name="new-game-button"/>
+      <widget name="undo-move-button"/>
       <widget name="pause_button"/>
     </widgets>
   </object>
-  <object class="GtkSizeGroup" id="right_nav_box_sizegroup">
+  <object class="GtkSizeGroup">
     <property name="mode">vertical</property>
     <widgets>
       <widget name="white_time_label"/>
diff --git a/data/preferences.ui b/data/preferences.ui
index a84e89f..80f89da 100644
--- a/data/preferences.ui
+++ b/data/preferences.ui
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <!-- interface-requires gtk+ 3.12 -->
-  <object class="GtkListStore" id="custom_duration_units_model">
+  <object class="GtkListStore" id="custom-duration-units-model">
     <columns>
       <!-- column-name label -->
       <column type="gchararray"/>
@@ -19,7 +19,7 @@
       </row>
     </data>
   </object>
-  <object class="GtkListStore" id="timer_increment_units_model">
+  <object class="GtkListStore" id="timer-increment-units-model">
     <columns>
       <!-- column-name label -->
       <column type="gchararray"/>
@@ -37,7 +37,7 @@
       </row>
     </data>
   </object>
-  <object class="GtkListStore" id="clock_type_model">
+  <object class="GtkListStore" id="clock-type-model">
     <columns>
       <!-- column-name label -->
       <column type="gchararray"/>
@@ -59,7 +59,7 @@
       </row>
     </data>
   </object>
-  <object class="GtkListStore" id="difficulty_model">
+  <object class="GtkListStore" id="difficulty-model">
     <columns>
       <!-- column-name label -->
       <column type="gchararray"/>
@@ -84,18 +84,18 @@
   <object class="GtkAdjustment" id="timer_increment_adjustment">
     <property name="lower">1</property>
     <property name="upper">59</property>
-    <property name="step_increment">1</property>
-    <property name="page_increment">10</property>
+    <property name="step-increment">1</property>
+    <property name="page-increment">10</property>
     <signal name="value-changed" handler="timer_increment_units_changed_cb" swapped="no"/>
   </object>
   <object class="GtkAdjustment" id="duration_adjustment">
     <property name="lower">1</property>
     <property name="upper">10</property>
-    <property name="step_increment">1</property>
-    <property name="page_increment">10</property>
+    <property name="step-increment">1</property>
+    <property name="page-increment">10</property>
     <signal name="value-changed" handler="duration_changed_cb" swapped="no"/>
   </object>
-  <object class="GtkListStore" id="duration_model">
+  <object class="GtkListStore" id="duration-model">
     <columns>
       <!-- column-name label -->
       <column type="gchararray"/>
@@ -137,7 +137,7 @@
       </row>
     </data>
   </object>
-  <object class="GtkListStore" id="move_format_model">
+  <object class="GtkListStore" id="move-format-model">
     <columns>
       <!-- column-name label -->
       <column type="gchararray"/>
@@ -163,7 +163,7 @@
       </row>
     </data>
   </object>
-  <object class="GtkListStore" id="opponent_model">
+  <object class="GtkListStore" id="opponent-model">
     <columns>
       <!-- column-name label -->
       <column type="gchararray"/>
@@ -177,7 +177,7 @@
       </row>
     </data>
   </object>
-  <object class="GtkListStore" id="orientation_model">
+  <object class="GtkListStore" id="orientation-model">
     <columns>
       <!-- column-name label -->
       <column type="gchararray"/>
@@ -203,7 +203,7 @@
       </row>
     </data>
   </object>
-  <object class="GtkListStore" id="piece_style_model">
+  <object class="GtkListStore" id="piece-style-model">
     <columns>
       <!-- column-name label -->
       <column type="gchararray"/>
@@ -222,38 +222,38 @@
     </data>
   </object>
   <object class="GtkDialog" id="preferences">
-    <property name="can_focus">False</property>
+    <property name="can-focus">False</property>
     <property name="title" translatable="yes" comments="Title for preferences dialog">Preferences</property>
     <property name="resizable">False</property>
-    <property name="destroy_with_parent">True</property>
-    <property name="type_hint">dialog</property>
-    <property name="use_header_bar">1</property>
+    <property name="destroy-with-parent">True</property>
+    <property name="type-hint">dialog</property>
+    <property name="use-header-bar">1</property>
     <signal name="delete-event" handler="preferences_delete_event_cb" swapped="no"/>
     <signal name="response" handler="preferences_response_cb" swapped="no"/>
     <child internal-child="vbox">
-      <object class="GtkBox" id="dialog-vbox1">
+      <object class="GtkBox">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
+        <property name="can-focus">False</property>
         <child>
-          <object class="GtkNotebook" id="notebook1">
+          <object class="GtkNotebook">
             <property name="visible">True</property>
-            <property name="can_focus">True</property>
-            <property name="border_width">5</property>
+            <property name="can-focus">True</property>
+            <property name="border-width">5</property>
             <child>
               <object class="GtkGrid">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="border_width">10</property>
-                <property name="column_spacing">5</property>
-                <property name="row_spacing">5</property>
+                <property name="can-focus">False</property>
+                <property name="border-width">10</property>
+                <property name="column-spacing">5</property>
+                <property name="row-spacing">5</property>
                 <child>
-                  <object class="GtkLabel" id="clock_type_label">
+                  <object class="GtkLabel">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</property>
                     <property name="halign">start</property>
                     <property name="label" translatable="yes" comments="Preferences Dialog: Label before 
clock type (Fischer/Bronstein) combo box">_Clock type:</property>
-                    <property name="use_underline">True</property>
-                    <property name="mnemonic_widget">clock_type_combo</property>
+                    <property name="use-underline">True</property>
+                    <property name="mnemonic-widget">clock_type_combo</property>
                   </object>
                   <packing>
                     <property name="top-attach">5</property>
@@ -263,11 +263,11 @@
                 <child>
                   <object class="GtkLabel" id="timer_increment_label">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</property>
                     <property name="halign">start</property>
                     <property name="label" translatable="yes" comments="Preferences Dialog: Label before 
timer increment combo box">Timer _increment:</property>
-                    <property name="use_underline">True</property>
-                    <property name="mnemonic_widget">timer_increment_spin</property>
+                    <property name="use-underline">True</property>
+                    <property name="mnemonic-widget">timer-increment-spin</property>
                   </object>
                   <packing>
                     <property name="top-attach">6</property>
@@ -278,11 +278,11 @@
                   <object class="GtkComboBox" id="clock_type_combo">
                     <property name="visible">True</property>
                     <property name="hexpand">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="model">clock_type_model</property>
+                    <property name="can-focus">False</property>
+                    <property name="model">clock-type-model</property>
                     <signal name="changed" handler="clock_type_changed_cb" swapped="no"/>
                     <child>
-                      <object class="GtkCellRendererText" id="clock_type_cellrenderer"/>
+                      <object class="GtkCellRendererText"/>
                       <attributes>
                         <attribute name="text">0</attribute>
                       </attributes>
@@ -294,13 +294,13 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkLabel" id="side_label">
+                  <object class="GtkLabel">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</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>
+                    <property name="use-underline">True</property>
+                    <property name="mnemonic-widget">side_combo</property>
                   </object>
                   <packing>
                     <property name="top-attach">1</property>
@@ -308,13 +308,13 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkLabel" id="opposing_player_label">
+                  <object class="GtkLabel">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</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>
+                    <property name="use-underline">True</property>
+                    <property name="mnemonic-widget">opponent_combo</property>
                   </object>
                   <packing>
                     <property name="top-attach">0</property>
@@ -322,13 +322,13 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkLabel" id="label2">
+                  <object class="GtkLabel">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</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>
+                    <property name="use-underline">True</property>
+                    <property name="mnemonic-widget">difficulty_combo</property>
                   </object>
                   <packing>
                     <property name="top-attach">2</property>
@@ -339,15 +339,15 @@
                   <object class="GtkBox" id="timer_increment_box">
                     <property name="visible">True</property>
                     <property name="hexpand">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</property>
                     <property name="spacing">6</property>
                     <child>
-                      <object class="GtkSpinButton" id="timer_increment_spin">
+                      <object class="GtkSpinButton" id="timer-increment-spin">
                         <property name="visible">True</property>
-                        <property name="can_focus">True</property>
-                        <property name="invisible_char">•</property>
+                        <property name="can-focus">True</property>
+                        <property name="invisible-char">•</property>
                         <property name="adjustment">timer_increment_adjustment</property>
-                        <property name="climb_rate">1</property>
+                        <property name="climb-rate">1</property>
                         <property name="numeric">True</property>
                       </object>
                       <packing>
@@ -359,11 +359,11 @@
                     <child>
                       <object class="GtkComboBox" id="timer_increment_units_combo">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="model">timer_increment_units_model</property>
+                        <property name="can-focus">False</property>
+                        <property name="model">timer-increment-units-model</property>
                         <signal name="changed" handler="timer_increment_units_changed_cb" swapped="no"/>
                         <child>
-                          <object class="GtkCellRendererText" id="timer_increment_units_cellrenderer"/>
+                          <object class="GtkCellRendererText"/>
                           <attributes>
                             <attribute name="text">0</attribute>
                           </attributes>
@@ -385,11 +385,11 @@
                   <object class="GtkComboBox" id="side_combo">
                     <property name="visible">True</property>
                     <property name="hexpand">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="model">side_model</property>
+                    <property name="can-focus">False</property>
+                    <property name="model">side-model</property>
                     <signal name="changed" handler="side_combo_changed_cb" swapped="no"/>
                     <child>
-                      <object class="GtkCellRendererText" id="side_cellrenderer"/>
+                      <object class="GtkCellRendererText"/>
                       <attributes>
                         <attribute name="text">0</attribute>
                       </attributes>
@@ -404,11 +404,11 @@
                   <object class="GtkComboBox" id="opponent_combo">
                     <property name="visible">True</property>
                     <property name="hexpand">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="model">opponent_model</property>
+                    <property name="can-focus">False</property>
+                    <property name="model">opponent-model</property>
                     <signal name="changed" handler="opponent_combo_changed_cb" swapped="no"/>
                     <child>
-                      <object class="GtkCellRendererText" id="opponent_cellrenderer"/>
+                      <object class="GtkCellRendererText"/>
                       <attributes>
                         <attribute name="text">0</attribute>
                       </attributes>
@@ -423,11 +423,11 @@
                   <object class="GtkComboBox" id="difficulty_combo">
                     <property name="visible">True</property>
                     <property name="hexpand">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="model">difficulty_model</property>
+                    <property name="can-focus">False</property>
+                    <property name="model">difficulty-model</property>
                     <signal name="changed" handler="difficulty_combo_changed_cb" swapped="no"/>
                     <child>
-                      <object class="GtkCellRendererText" id="difficulty_cellrenderer"/>
+                      <object class="GtkCellRendererText"/>
                       <attributes>
                         <attribute name="text">0</attribute>
                       </attributes>
@@ -442,15 +442,15 @@
                   <object class="GtkBox" id="custom_duration_box">
                     <property name="visible">True</property>
                     <property name="hexpand">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</property>
                     <property name="spacing">6</property>
                     <child>
-                      <object class="GtkSpinButton" id="custom_duration_spin">
+                      <object class="GtkSpinButton">
                         <property name="visible">True</property>
-                        <property name="can_focus">True</property>
-                        <property name="invisible_char">•</property>
+                        <property name="can-focus">True</property>
+                        <property name="invisible-char">•</property>
                         <property name="adjustment">duration_adjustment</property>
-                        <property name="climb_rate">1</property>
+                        <property name="climb-rate">1</property>
                         <property name="numeric">True</property>
                       </object>
                       <packing>
@@ -462,11 +462,11 @@
                     <child>
                       <object class="GtkComboBox" id="custom_duration_units_combo">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
-                        <property name="model">custom_duration_units_model</property>
+                        <property name="can-focus">False</property>
+                        <property name="model">custom-duration-units-model</property>
                         <signal name="changed" handler="duration_units_changed_cb" swapped="no"/>
                         <child>
-                          <object class="GtkCellRendererText" id="custom_duration_units_cellrenderer"/>
+                          <object class="GtkCellRendererText"/>
                           <attributes>
                             <attribute name="text">0</attribute>
                           </attributes>
@@ -485,13 +485,13 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkLabel" id="label3">
+                  <object class="GtkLabel">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</property>
                     <property name="halign">start</property>
                     <property name="label" translatable="yes" comments="Preferences Dialog: Label before 
game timer settings">_Time limit:</property>
-                    <property name="use_underline">True</property>
-                    <property name="mnemonic_widget">duration_combo</property>
+                    <property name="use-underline">True</property>
+                    <property name="mnemonic-widget">duration_combo</property>
                   </object>
                   <packing>
                     <property name="top-attach">3</property>
@@ -502,11 +502,11 @@
                   <object class="GtkComboBox" id="duration_combo">
                     <property name="visible">True</property>
                     <property name="hexpand">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="model">duration_model</property>
+                    <property name="can-focus">False</property>
+                    <property name="model">duration-model</property>
                     <signal name="changed" handler="duration_combo_changed_cb" swapped="no"/>
                     <child>
-                      <object class="GtkCellRendererText" id="duration_cellrenderer"/>
+                      <object class="GtkCellRendererText"/>
                       <attributes>
                         <attribute name="text">0</attribute>
                       </attributes>
@@ -518,15 +518,15 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkBox" id="hbox2">
+                  <object class="GtkBox">
                     <property name="visible">True</property>
                     <property name="hexpand">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</property>
                     <property name="spacing">5</property>
                     <child>
-                      <object class="GtkImage" id="image1">
+                      <object class="GtkImage">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can-focus">False</property>
                         <property name="icon-name">dialog-information-symbolic</property>
                         <property name="icon-size">6</property>
                       </object>
@@ -537,9 +537,9 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkLabel" id="label4">
+                      <object class="GtkLabel">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can-focus">False</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>
@@ -559,31 +559,31 @@
               </object>
             </child>
             <child type="tab">
-              <object class="GtkLabel" id="label1">
+              <object class="GtkLabel">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
+                <property name="can-focus">False</property>
                 <property name="label" translatable="yes" comments="Preferences Dialog: Tab title for game 
preferences">_Game</property>
-                <property name="use_underline">True</property>
+                <property name="use-underline">True</property>
               </object>
               <packing>
-                <property name="tab_fill">False</property>
+                <property name="tab-fill">False</property>
               </packing>
             </child>
             <child>
               <object class="GtkGrid">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="border_width">10</property>
-                <property name="column_spacing">5</property>
-                <property name="row_spacing">5</property>
+                <property name="can-focus">False</property>
+                <property name="border-width">10</property>
+                <property name="column-spacing">5</property>
+                <property name="row-spacing">5</property>
                 <child>
-                  <object class="GtkLabel" id="board_label">
+                  <object class="GtkLabel">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</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>
+                    <property name="use-underline">True</property>
+                    <property name="mnemonic-widget">orientation_combo</property>
                   </object>
                   <packing>
                     <property name="left-attach">0</property>
@@ -591,13 +591,13 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkLabel" id="format_label">
+                  <object class="GtkLabel">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</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>
+                    <property name="use-underline">True</property>
+                    <property name="mnemonic-widget">move_format_combo</property>
                   </object>
                   <packing>
                     <property name="left-attach">0</property>
@@ -605,13 +605,13 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkLabel" id="piece_style_label">
+                  <object class="GtkLabel">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</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>
+                    <property name="use-underline">True</property>
+                    <property name="mnemonic-widget">piece_style_combo</property>
                   </object>
                   <packing>
                     <property name="left-attach">0</property>
@@ -622,11 +622,11 @@
                   <object class="GtkComboBox" id="orientation_combo">
                     <property name="visible">True</property>
                     <property name="hexpand">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="model">orientation_model</property>
+                    <property name="can-focus">False</property>
+                    <property name="model">orientation-model</property>
                     <signal name="changed" handler="orientation_combo_changed_cb" swapped="no"/>
                     <child>
-                      <object class="GtkCellRendererText" id="orientation_cellrenderer"/>
+                      <object class="GtkCellRendererText"/>
                       <attributes>
                         <attribute name="text">0</attribute>
                       </attributes>
@@ -641,11 +641,11 @@
                   <object class="GtkComboBox" id="move_format_combo">
                     <property name="visible">True</property>
                     <property name="hexpand">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="model">move_format_model</property>
+                    <property name="can-focus">False</property>
+                    <property name="model">move-format-model</property>
                     <signal name="changed" handler="move_format_combo_changed_cb" swapped="no"/>
                     <child>
-                      <object class="GtkCellRendererText" id="move_format_cellrenderer"/>
+                      <object class="GtkCellRendererText"/>
                       <attributes>
                         <attribute name="text">0</attribute>
                       </attributes>
@@ -660,11 +660,11 @@
                   <object class="GtkComboBox" id="piece_style_combo">
                     <property name="visible">True</property>
                     <property name="hexpand">True</property>
-                    <property name="can_focus">True</property>
-                    <property name="model">piece_style_model</property>
+                    <property name="can-focus">True</property>
+                    <property name="model">piece-style-model</property>
                     <signal name="changed" handler="piece_style_combo_changed_cb" swapped="no"/>
                     <child>
-                      <object class="GtkCellRendererText" id="piece_style_cellrenderer"/>
+                      <object class="GtkCellRendererText"/>
                       <attributes>
                         <attribute name="text">0</attribute>
                       </attributes>
@@ -679,10 +679,10 @@
                   <object class="GtkCheckButton" id="show_numbering_check">
                     <property name="label" translatable="yes" comments="Preferences Dialog: Check box for 
selecting if board numbering is visible">_Board numbering</property>
                     <property name="visible">True</property>
-                    <property name="can_focus">True</property>
-                    <property name="receives_default">False</property>
-                    <property name="use_underline">True</property>
-                    <property name="draw_indicator">True</property>
+                    <property name="can-focus">True</property>
+                    <property name="receives-default">False</property>
+                    <property name="use-underline">True</property>
+                    <property name="draw-indicator">True</property>
                   </object>
                   <packing>
                     <property name="left-attach">0</property>
@@ -694,10 +694,10 @@
                   <object class="GtkCheckButton" id="show_move_hints_check">
                     <property name="label" translatable="yes" comments="Preferences Dialog: Check box for 
selecting if move hints are visible">_Move hints</property>
                     <property name="visible">True</property>
-                    <property name="can_focus">True</property>
-                    <property name="receives_default">False</property>
-                    <property name="use_underline">True</property>
-                    <property name="draw_indicator">True</property>
+                    <property name="can-focus">True</property>
+                    <property name="receives-default">False</property>
+                    <property name="use-underline">True</property>
+                    <property name="draw-indicator">True</property>
                   </object>
                   <packing>
                     <property name="left-attach">0</property>
@@ -711,15 +711,15 @@
               </packing>
             </child>
             <child type="tab">
-              <object class="GtkLabel" id="view_label">
+              <object class="GtkLabel">
                 <property name="visible">True</property>
-                <property name="can_focus">False</property>
+                <property name="can-focus">False</property>
                 <property name="label" translatable="yes" comments="Preferences Dialog: Title of appearance 
options tab">_Appearance</property>
-                <property name="use_underline">True</property>
+                <property name="use-underline">True</property>
               </object>
               <packing>
                 <property name="position">1</property>
-                <property name="tab_fill">False</property>
+                <property name="tab-fill">False</property>
               </packing>
             </child>
           </object>
@@ -732,7 +732,7 @@
       </object>
     </child>
   </object>
-  <object class="GtkListStore" id="side_model">
+  <object class="GtkListStore" id="side-model">
     <columns>
       <!-- column-name label -->
       <column type="gchararray"/>
diff --git a/data/promotion-type-selector.ui b/data/promotion-type-selector.ui
index f4045b6..3d0a196 100644
--- a/data/promotion-type-selector.ui
+++ b/data/promotion-type-selector.ui
@@ -2,48 +2,48 @@
 <interface>
   <!-- interface-requires gtk+ 3.12 -->
   <object class="GtkDialog" id="dialog_promotion_type_selector">
-    <property name="can_focus">False</property>
-    <property name="border_width">5</property>
+    <property name="can-focus">False</property>
+    <property name="border-width">5</property>
     <property name="title" translatable="yes">Select Promotion Type</property>
-    <property name="type_hint">dialog</property>
-    <property name="has_resize_grip">False</property>
-    <property name="use_header_bar">1</property>
+    <property name="type-hint">dialog</property>
+    <property name="has-resize-grip">False</property>
+    <property name="use-header-bar">1</property>
     <child internal-child="vbox">
-      <object class="GtkBox" id="dialog-vbox1">
-        <property name="can_focus">False</property>
-        <property name="margin_left">12</property>
-        <property name="margin_right">12</property>
-        <property name="margin_top">6</property>
-        <property name="margin_bottom">20</property>
+      <object class="GtkBox">
+        <property name="can-focus">False</property>
+        <property name="margin-left">12</property>
+        <property name="margin-right">12</property>
+        <property name="margin-top">6</property>
+        <property name="margin-bottom">20</property>
         <child internal-child="action_area">
-          <object class="GtkButtonBox" id="dialog-action_area1">
-            <property name="can_focus">False</property>
-            <property name="layout_style">center</property>
+          <object class="GtkButtonBox">
+            <property name="can-focus">False</property>
+            <property name="layout-style">center</property>
             <child>
-              <object class="GtkToggleButton" id="togglebutton_queen">
-                <property name="width_request">100</property>
-                <property name="height_request">120</property>
+              <object class="GtkToggleButton" id="togglebutton-queen">
+                <property name="width-request">100</property>
+                <property name="height-request">120</property>
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">True</property>
-                <property name="use_underline">True</property>
-                <property name="image_position">top</property>
+                <property name="can-focus">True</property>
+                <property name="receives-default">True</property>
+                <property name="use-underline">True</property>
+                <property name="image-position">top</property>
                 <child>
-                  <object class="GtkGrid" id="grid_queen">
+                  <object class="GtkGrid">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</property>
                     <property name="halign">center</property>
                     <property name="valign">center</property>
                     <child>
-                      <object class="GtkLabel" id="label_queen">
+                      <object class="GtkLabel">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can-focus">False</property>
                         <property name="label" translatable="yes">_Queen</property>
-                        <property name="use_underline">True</property>
+                        <property name="use-underline">True</property>
                       </object>
                       <packing>
-                        <property name="left_attach">0</property>
-                        <property name="top_attach">1</property>
+                        <property name="left-attach">0</property>
+                        <property name="top-attach">1</property>
                         <property name="width">1</property>
                         <property name="height">1</property>
                       </packing>
@@ -51,11 +51,11 @@
                     <child>
                       <object class="GtkImage" id="image_queen">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can-focus">False</property>
                       </object>
                       <packing>
-                        <property name="left_attach">0</property>
-                        <property name="top_attach">0</property>
+                        <property name="left-attach">0</property>
+                        <property name="top-attach">0</property>
                         <property name="width">1</property>
                         <property name="height">1</property>
                       </packing>
@@ -70,30 +70,30 @@
               </packing>
             </child>
             <child>
-              <object class="GtkToggleButton" id="togglebutton_knight">
-                <property name="width_request">100</property>
-                <property name="height_request">120</property>
+              <object class="GtkToggleButton" id="togglebutton-knight">
+                <property name="width-request">100</property>
+                <property name="height-request">120</property>
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">True</property>
-                <property name="use_underline">True</property>
-                <property name="image_position">top</property>
+                <property name="can-focus">True</property>
+                <property name="receives-default">True</property>
+                <property name="use-underline">True</property>
+                <property name="image-position">top</property>
                 <child>
-                  <object class="GtkGrid" id="grid_knight">
+                  <object class="GtkGrid">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</property>
                     <property name="halign">center</property>
                     <property name="valign">center</property>
                     <child>
-                      <object class="GtkLabel" id="label_knight">
+                      <object class="GtkLabel">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can-focus">False</property>
                         <property name="label" translatable="yes">_Knight</property>
-                        <property name="use_underline">True</property>
+                        <property name="use-underline">True</property>
                       </object>
                       <packing>
-                        <property name="left_attach">0</property>
-                        <property name="top_attach">1</property>
+                        <property name="left-attach">0</property>
+                        <property name="top-attach">1</property>
                         <property name="width">1</property>
                         <property name="height">1</property>
                       </packing>
@@ -101,11 +101,11 @@
                     <child>
                       <object class="GtkImage" id="image_knight">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can-focus">False</property>
                       </object>
                       <packing>
-                        <property name="left_attach">0</property>
-                        <property name="top_attach">0</property>
+                        <property name="left-attach">0</property>
+                        <property name="top-attach">0</property>
                         <property name="width">1</property>
                         <property name="height">1</property>
                       </packing>
@@ -120,30 +120,30 @@
               </packing>
             </child>
             <child>
-              <object class="GtkToggleButton" id="togglebutton_rook">
-                <property name="width_request">100</property>
-                <property name="height_request">120</property>
+              <object class="GtkToggleButton" id="togglebutton-rook">
+                <property name="width-request">100</property>
+                <property name="height-request">120</property>
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">True</property>
-                <property name="use_underline">True</property>
-                <property name="image_position">top</property>
+                <property name="can-focus">True</property>
+                <property name="receives-default">True</property>
+                <property name="use-underline">True</property>
+                <property name="image-position">top</property>
                 <child>
-                  <object class="GtkGrid" id="grid_rook">
+                  <object class="GtkGrid">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</property>
                     <property name="halign">center</property>
                     <property name="valign">center</property>
                     <child>
-                      <object class="GtkLabel" id="label_rook">
+                      <object class="GtkLabel">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can-focus">False</property>
                         <property name="label" translatable="yes">_Rook</property>
-                        <property name="use_underline">True</property>
+                        <property name="use-underline">True</property>
                       </object>
                       <packing>
-                        <property name="left_attach">0</property>
-                        <property name="top_attach">1</property>
+                        <property name="left-attach">0</property>
+                        <property name="top-attach">1</property>
                         <property name="width">1</property>
                         <property name="height">1</property>
                       </packing>
@@ -151,11 +151,11 @@
                     <child>
                       <object class="GtkImage" id="image_rook">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can-focus">False</property>
                       </object>
                       <packing>
-                        <property name="left_attach">0</property>
-                        <property name="top_attach">0</property>
+                        <property name="left-attach">0</property>
+                        <property name="top-attach">0</property>
                         <property name="width">1</property>
                         <property name="height">1</property>
                       </packing>
@@ -170,30 +170,30 @@
               </packing>
             </child>
             <child>
-              <object class="GtkToggleButton" id="togglebutton_bishop">
-                <property name="width_request">100</property>
-                <property name="height_request">120</property>
+              <object class="GtkToggleButton" id="togglebutton-bishop">
+                <property name="width-request">100</property>
+                <property name="height-request">120</property>
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">True</property>
-                <property name="use_underline">True</property>
-                <property name="image_position">top</property>
+                <property name="can-focus">True</property>
+                <property name="receives-default">True</property>
+                <property name="use-underline">True</property>
+                <property name="image-position">top</property>
                 <child>
-                  <object class="GtkGrid" id="grid_bishop">
+                  <object class="GtkGrid">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
+                    <property name="can-focus">False</property>
                     <property name="halign">center</property>
                     <property name="valign">center</property>
                     <child>
-                      <object class="GtkLabel" id="label_bishop">
+                      <object class="GtkLabel">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can-focus">False</property>
                         <property name="label" translatable="yes">_Bishop</property>
-                        <property name="use_underline">True</property>
+                        <property name="use-underline">True</property>
                       </object>
                       <packing>
-                        <property name="left_attach">0</property>
-                        <property name="top_attach">1</property>
+                        <property name="left-attach">0</property>
+                        <property name="top-attach">1</property>
                         <property name="width">1</property>
                         <property name="height">1</property>
                       </packing>
@@ -201,11 +201,11 @@
                     <child>
                       <object class="GtkImage" id="image_bishop">
                         <property name="visible">True</property>
-                        <property name="can_focus">False</property>
+                        <property name="can-focus">False</property>
                       </object>
                       <packing>
-                        <property name="left_attach">0</property>
-                        <property name="top_attach">0</property>
+                        <property name="left-attach">0</property>
+                        <property name="top-attach">0</property>
                         <property name="width">1</property>
                         <property name="height">1</property>
                       </packing>
@@ -223,17 +223,17 @@
           <packing>
             <property name="expand">False</property>
             <property name="fill">True</property>
-            <property name="pack_type">end</property>
+            <property name="pack-type">end</property>
             <property name="position">0</property>
           </packing>
         </child>
       </object>
     </child>
     <action-widgets>
-      <action-widget response="0">togglebutton_queen</action-widget>
-      <action-widget response="1">togglebutton_knight</action-widget>
-      <action-widget response="2">togglebutton_rook</action-widget>
-      <action-widget response="3">togglebutton_bishop</action-widget>
+      <action-widget response="0">togglebutton-queen</action-widget>
+      <action-widget response="1">togglebutton-knight</action-widget>
+      <action-widget response="2">togglebutton-rook</action-widget>
+      <action-widget response="3">togglebutton-bishop</action-widget>
     </action-widgets>
   </object>
 </interface>


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