[gnome-chess] Review and update the suggested game durations



commit dcbbd976d4a0211eddb6a211e9884c892f4338b7
Author: Michael Catanzaro <mike catanzaro gmail com>
Date:   Sat Jul 27 13:43:21 2013 -0500

    Review and update the suggested game durations
    
    Blitz Chess is typically five minutes per player (10 minutes total). If
    you want to go faster than that, you can always set a custom duration.
    
    Most players will probably be most comfortable with a longer limit such
    as 90 minutes/player.

 data/preferences.ui  |   18 +++++++++++-------
 src/gnome-chess.vala |    4 ++--
 2 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/data/preferences.ui b/data/preferences.ui
index f657b8c..558c103 100644
--- a/data/preferences.ui
+++ b/data/preferences.ui
@@ -65,15 +65,11 @@
         <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>
+        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for game timer of ten 
minutes">Ten minutes</col>
+        <col id="1">600</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="0" translatable="yes" comments="Preferences Dialog: Combo box entry for game timer of 
thirty minutes">Thirty minutes</col>
         <col id="1">1800</col>
       </row>
       <row>
@@ -81,6 +77,14 @@
         <col id="1">3600</col>
       </row>
       <row>
+        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for game timer of two 
hours">Two hours</col>
+        <col id="1">7200</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes" comments="Preferences Dialog: Combo box entry for game timer of three 
hours">Three hours</col>
+        <col id="1">10800</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>
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 9c648d3..99ffb7e 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -1538,9 +1538,9 @@ public class Application : Gtk.Application
 
         if (duration >= 0)
             set_duration (duration, false);
-        /* Default to 5 minutes when setting custom duration */
+        /* Default to one hour (30 minutes/player) when setting custom duration */
         else if (get_duration () <= 0)
-            set_duration (5 * 60, false);
+            set_duration (60 * 60, false);
 
         save_duration ();
     }


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