[gnome-chess] preferences.ui: target gtk+ 3



commit 91f1e3c19650191189c55d710da67e11c48fd1be
Author: Michael Catanzaro <mike catanzaro gmail com>
Date:   Thu Jul 4 13:57:31 2013 -0500

    preferences.ui: target gtk+ 3

 data/preferences.ui |  379 +++++++++++++++++++++++++--------------------------
 1 files changed, 189 insertions(+), 190 deletions(-)
---
diff --git a/data/preferences.ui b/data/preferences.ui
index 830bc5c..a018ca5 100644
--- a/data/preferences.ui
+++ b/data/preferences.ui
@@ -1,6 +1,179 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
-  <requires lib="gtk+" version="2.16"/>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkListStore" id="custom_duration_units_model">
+    <columns>
+      <!-- column-name label -->
+      <column type="gchararray"/>
+      <!-- column-name multiplier -->
+      <column type="gint"/>
+    </columns>
+    <data>
+      <row>
+        <col id="0">seconds</col>
+        <col id="1">1</col>
+      </row>
+      <row>
+        <col id="0">minutes</col>
+        <col id="1">60</col>
+      </row>
+      <row>
+        <col id="0">hours</col>
+        <col id="1">3600</col>
+      </row>
+    </data>
+  </object>
+  <object class="GtkListStore" id="difficulty_model">
+    <columns>
+      <!-- column-name label -->
+      <column type="gchararray"/>
+      <!-- column-name difficulty -->
+      <column type="gchararray"/>
+    </columns>
+    <data>
+      <row>
+        <col id="0" translatable="yes" context="difficulty" comments="Preferences Dialog: Combo box entry 
for easy game difficulty">Easy</col>
+        <col id="1">easy</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes" context="difficulty" comments="Preferences Dialog: Combo box entry 
for normal game difficulty">Normal</col>
+        <col id="1">normal</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes" context="difficulty" comments="Preferences Dialog: Combo box entry 
for hard game difficulty">Hard</col>
+        <col id="1">hard</col>
+      </row>
+    </data>
+  </object>
+  <object class="GtkAdjustment" id="duration_adjustment">
+    <property name="lower">1</property>
+    <property name="upper">86400</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">
+    <columns>
+      <!-- column-name label -->
+      <column type="gchararray"/>
+      <!-- column-name duration -->
+      <column type="gint"/>
+    </columns>
+    <data>
+      <row>
+        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for no game timer">No 
limit</col>
+        <col id="1">0</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for game timer of one 
minute">One minute</col>
+        <col id="1">60</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for game timer of five 
minutes">Five minutes</col>
+        <col id="1">300</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for game timer of 
thirty minutes">30 minutes</col>
+        <col id="1">1800</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for game timer of one 
hour">One hour</col>
+        <col id="1">3600</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for custom game 
timer">Custom</col>
+        <col id="1">-1</col>
+      </row>
+    </data>
+  </object>
+  <object class="GtkListStore" id="move_format_model">
+    <columns>
+      <!-- column-name label -->
+      <column type="gchararray"/>
+      <!-- column-name move-format -->
+      <column type="gchararray"/>
+    </columns>
+    <data>
+      <row>
+        <col id="0" translatable="yes" context="chess-move-format" comments="Preferences Dialog: Combo box 
entry for setting the notation type to human readable descriptions">Human</col>
+        <col id="1">human</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes" context="chess-move-format" comments="Preferences Dialog: Combo box 
entry for setting the notation type to standard algebraic (SAN)">Standard Algebraic</col>
+        <col id="1">san</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes" context="chess-move-format" comments="Preferences Dialog: Combo box 
entry for setting the notation type to long figurine notation (FAN)">Figurine</col>
+        <col id="1">fan</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes" context="chess-move-format" comments="Preferences Dialog: Combo box 
entry for setting the notation type to long algebraic (LAN)">Long Algebraic</col>
+        <col id="1">lan</col>
+      </row>
+    </data>
+  </object>
+  <object class="GtkListStore" id="opponent_model">
+    <columns>
+      <!-- column-name label -->
+      <column type="gchararray"/>
+      <!-- column-name opposing-player -->
+      <column type="gchararray"/>
+    </columns>
+    <data>
+      <row>
+        <col id="0" translatable="yes" context="chess-opponent" comments="Preferences Dialog: Combo box 
entry for human opponent">Human</col>
+        <col id="1">human</col>
+      </row>
+    </data>
+  </object>
+  <object class="GtkListStore" id="orientation_model">
+    <columns>
+      <!-- column-name label -->
+      <column type="gchararray"/>
+      <!-- column-name board-orientation -->
+      <column type="gchararray"/>
+    </columns>
+    <data>
+      <row>
+        <col id="0" translatable="yes" context="chess-side" comments="Preferences Dialog: Combo box entry 
for setting the board orientation to the white side">White Side</col>
+        <col id="1">white</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes" context="chess-side" comments="Preferences Dialog: Combo box entry 
for setting the board orientation to the black side">Black Side</col>
+        <col id="1">black</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes" context="chess-side" comments="Preferences Dialog: Combo box entry 
for setting the board orientation to the side the human player is on">Human Side</col>
+        <col id="1">human</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes" context="chess-side" comments="Preferences Dialog: Combo box entry 
for setting the board orientation to the side the current active player is on">Current Player</col>
+        <col id="1">current</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes" context="chess-side" comments="Preferences Dialog: Combo box entry 
for setting the board orientation face to face mode where opponents are looking at the same screen from 
opposite sides (e.g. with a tablet)">Face to Face</col>
+        <col id="1">facetoface</col>
+      </row>
+    </data>
+  </object>
+  <object class="GtkListStore" id="piece_style_model">
+    <columns>
+      <!-- column-name label -->
+      <column type="gchararray"/>
+      <!-- column-name piece-style -->
+      <column type="gchararray"/>
+    </columns>
+    <data>
+      <row>
+        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for simple 
theme">Simple</col>
+        <col id="1">simple</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for fancy 
theme">Fancy</col>
+        <col id="1">fancy</col>
+      </row>
+    </data>
+  </object>
   <object class="GtkDialog" id="preferences">
     <property name="can_focus">False</property>
     <property name="title" translatable="yes" comments="Title for preferences dialog">Preferences</property>
@@ -25,7 +198,6 @@
                 <property name="can_focus">True</property>
                 <property name="can_default">True</property>
                 <property name="receives_default">False</property>
-                <property name="use_action_appearance">False</property>
                 <property name="use_stock">True</property>
               </object>
               <packing>
@@ -57,6 +229,9 @@
                 <property name="column_spacing">5</property>
                 <property name="row_spacing">5</property>
                 <child>
+                  <placeholder/>
+                </child>
+                <child>
                   <object class="GtkLabel" id="side_label">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
@@ -65,7 +240,7 @@
                   </object>
                   <packing>
                     <property name="x_options">GTK_FILL</property>
-                    <property name="y_options"></property>
+                    <property name="y_options"/>
                   </packing>
                 </child>
                 <child>
@@ -79,7 +254,7 @@
                     <property name="top_attach">1</property>
                     <property name="bottom_attach">2</property>
                     <property name="x_options">GTK_FILL</property>
-                    <property name="y_options"></property>
+                    <property name="y_options"/>
                   </packing>
                 </child>
                 <child>
@@ -93,7 +268,7 @@
                     <property name="top_attach">2</property>
                     <property name="bottom_attach">3</property>
                     <property name="x_options">GTK_FILL</property>
-                    <property name="y_options"></property>
+                    <property name="y_options"/>
                   </packing>
                 </child>
                 <child>
@@ -227,7 +402,7 @@
                     <property name="top_attach">3</property>
                     <property name="bottom_attach">4</property>
                     <property name="x_options">GTK_FILL</property>
-                    <property name="y_options"></property>
+                    <property name="y_options"/>
                   </packing>
                 </child>
                 <child>
@@ -290,9 +465,6 @@
                     <property name="y_options">GTK_FILL</property>
                   </packing>
                 </child>
-                <child>
-                  <placeholder/>
-                </child>
               </object>
             </child>
             <child type="tab">
@@ -324,8 +496,8 @@
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
-                        <property name="use_action_appearance">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>
@@ -358,8 +530,8 @@
                             <property name="sensitive">False</property>
                             <property name="can_focus">True</property>
                             <property name="receives_default">False</property>
-                            <property name="use_action_appearance">False</property>
                             <property name="use_underline">True</property>
+                            <property name="xalign">0.5</property>
                             <property name="draw_indicator">True</property>
                           </object>
                           <packing>
@@ -425,8 +597,8 @@
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
-                        <property name="use_action_appearance">False</property>
                         <property name="use_underline">True</property>
+                        <property name="xalign">0.5</property>
                         <property name="draw_indicator">True</property>
                       </object>
                       <packing>
@@ -441,8 +613,8 @@
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
-                        <property name="use_action_appearance">False</property>
                         <property name="use_underline">True</property>
+                        <property name="xalign">0.5</property>
                         <property name="draw_indicator">True</property>
                       </object>
                       <packing>
@@ -457,8 +629,8 @@
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
-                        <property name="use_action_appearance">False</property>
                         <property name="use_underline">True</property>
+                        <property name="xalign">0.5</property>
                         <property name="draw_indicator">True</property>
                       </object>
                       <packing>
@@ -473,8 +645,8 @@
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
-                        <property name="use_action_appearance">False</property>
                         <property name="use_underline">True</property>
+                        <property name="xalign">0.5</property>
                         <property name="draw_indicator">True</property>
                       </object>
                       <packing>
@@ -499,7 +671,7 @@
                   </object>
                   <packing>
                     <property name="x_options">GTK_FILL</property>
-                    <property name="y_options"></property>
+                    <property name="y_options"/>
                   </packing>
                 </child>
                 <child>
@@ -513,7 +685,7 @@
                     <property name="top_attach">1</property>
                     <property name="bottom_attach">2</property>
                     <property name="x_options">GTK_FILL</property>
-                    <property name="y_options"></property>
+                    <property name="y_options"/>
                   </packing>
                 </child>
                 <child>
@@ -605,177 +777,4 @@
       </row>
     </data>
   </object>
-  <object class="GtkListStore" id="custom_duration_units_model">
-    <columns>
-      <!-- column-name label -->
-      <column type="gchararray"/>
-      <!-- column-name multiplier -->
-      <column type="gint"/>
-    </columns>
-    <data>
-      <row>
-        <col id="0">seconds</col>
-        <col id="1">1</col>
-      </row>
-      <row>
-        <col id="0">minutes</col>
-        <col id="1">60</col>
-      </row>
-      <row>
-        <col id="0">hours</col>
-        <col id="1">3600</col>
-      </row>
-    </data>
-  </object>
-  <object class="GtkListStore" id="difficulty_model">
-    <columns>
-      <!-- column-name label -->
-      <column type="gchararray"/>
-      <!-- column-name difficulty -->
-      <column type="gchararray"/>
-    </columns>
-    <data>
-      <row>
-        <col id="0" translatable="yes" context="difficulty" comments="Preferences Dialog: Combo box entry 
for easy game difficulty">Easy</col>
-        <col id="1">easy</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes" context="difficulty" comments="Preferences Dialog: Combo box entry 
for normal game difficulty">Normal</col>
-        <col id="1">normal</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes" context="difficulty" comments="Preferences Dialog: Combo box entry 
for hard game difficulty">Hard</col>
-        <col id="1">hard</col>
-      </row>
-    </data>
-  </object>
-  <object class="GtkAdjustment" id="duration_adjustment">
-    <property name="lower">1</property>
-    <property name="upper">86400</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">
-    <columns>
-      <!-- column-name label -->
-      <column type="gchararray"/>
-      <!-- column-name duration -->
-      <column type="gint"/>
-    </columns>
-    <data>
-      <row>
-        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for no game timer">No 
limit</col>
-        <col id="1">0</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for game timer of one 
minute">One minute</col>
-        <col id="1">60</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for game timer of five 
minutes">Five minutes</col>
-        <col id="1">300</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for game timer of 
thirty minutes">30 minutes</col>
-        <col id="1">1800</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for game timer of one 
hour">One hour</col>
-        <col id="1">3600</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for custom game 
timer">Custom</col>
-        <col id="1">-1</col>
-      </row>
-    </data>
-  </object>
-  <object class="GtkListStore" id="move_format_model">
-    <columns>
-      <!-- column-name label -->
-      <column type="gchararray"/>
-      <!-- column-name move-format -->
-      <column type="gchararray"/>
-    </columns>
-    <data>
-      <row>
-        <col id="0" translatable="yes" context="chess-move-format" comments="Preferences Dialog: Combo box 
entry for setting the notation type to human readable descriptions">Human</col>
-        <col id="1">human</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes" context="chess-move-format" comments="Preferences Dialog: Combo box 
entry for setting the notation type to standard algebraic (SAN)">Standard Algebraic</col>
-        <col id="1">san</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes" context="chess-move-format" comments="Preferences Dialog: Combo box 
entry for setting the notation type to long figurine notation (FAN)">Figurine</col>
-        <col id="1">fan</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes" context="chess-move-format" comments="Preferences Dialog: Combo box 
entry for setting the notation type to long algebraic (LAN)">Long Algebraic</col>
-        <col id="1">lan</col>
-      </row>
-    </data>
-  </object>
-  <object class="GtkListStore" id="opponent_model">
-    <columns>
-      <!-- column-name label -->
-      <column type="gchararray"/>
-      <!-- column-name opposing-player -->
-      <column type="gchararray"/>
-    </columns>
-    <data>
-      <row>
-        <col id="0" translatable="yes" context="chess-opponent" comments="Preferences Dialog: Combo box 
entry for human opponent">Human</col>
-        <col id="1">human</col>
-      </row>
-    </data>
-  </object>
-  <object class="GtkListStore" id="orientation_model">
-    <columns>
-      <!-- column-name label -->
-      <column type="gchararray"/>
-      <!-- column-name board-orientation -->
-      <column type="gchararray"/>
-    </columns>
-    <data>
-      <row>
-        <col id="0" translatable="yes" context="chess-side" comments="Preferences Dialog: Combo box entry 
for setting the board orientation to the white side">White Side</col>
-        <col id="1">white</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes" context="chess-side" comments="Preferences Dialog: Combo box entry 
for setting the board orientation to the black side">Black Side</col>
-        <col id="1">black</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes" context="chess-side" comments="Preferences Dialog: Combo box entry 
for setting the board orientation to the side the human player is on">Human Side</col>
-        <col id="1">human</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes" context="chess-side" comments="Preferences Dialog: Combo box entry 
for setting the board orientation to the side the current active player is on">Current Player</col>
-        <col id="1">current</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes" context="chess-side" comments="Preferences Dialog: Combo box entry 
for setting the board orientation face to face mode where opponents are looking at the same screen from 
opposite sides (e.g. with a tablet)">Face to Face</col>
-        <col id="1">facetoface</col>
-      </row>
-    </data>
-  </object>
-  <object class="GtkListStore" id="piece_style_model">
-    <columns>
-      <!-- column-name label -->
-      <column type="gchararray"/>
-      <!-- column-name piece-style -->
-      <column type="gchararray"/>
-    </columns>
-    <data>
-      <row>
-        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for simple 
theme">Simple</col>
-        <col id="1">simple</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for fancy 
theme">Fancy</col>
-        <col id="1">fancy</col>
-      </row>
-    </data>
-  </object>
 </interface>



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