[chronojump] Fixed adding more than 40 persons



commit c1e9d4ece380e81e5c2e75254fd6ace6dadf45fe
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Apr 9 21:54:10 2012 +0200

    Fixed adding more than 40 persons

 glade/chronojump.glade |   25 ++++++++++++-------------
 src/gui/chronojump.cs  |    4 +++-
 src/gui/encoder.cs     |    1 -
 3 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index 73b78f8..59052ba 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -11088,17 +11088,6 @@ comments</property>
           </packing>
         </child>
         <child>
-          <widget class="GtkLabel" id="label_sport_stuff">
-            <property name="visible">True</property>
-            <property name="wrap">True</property>
-          </widget>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">False</property>
-            <property name="position">2</property>
-          </packing>
-        </child>
-        <child>
           <widget class="GtkHButtonBox" id="hbuttonbox41">
             <property name="visible">True</property>
             <property name="layout_style">spread</property>
@@ -11137,6 +11126,17 @@ comments</property>
           </widget>
           <packing>
             <property name="expand">False</property>
+            <property name="position">2</property>
+          </packing>
+        </child>
+        <child>
+          <widget class="GtkLabel" id="label_sport_stuff">
+            <property name="visible">True</property>
+            <property name="wrap">True</property>
+          </widget>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">False</property>
             <property name="position">3</property>
           </packing>
         </child>
@@ -11185,10 +11185,9 @@ comments</property>
               <widget class="GtkSpinButton" id="spin_int">
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
-                <property name="adjustment">10 0 300 1 10 10</property>
+                <property name="adjustment">10 0 300 1 10 0</property>
                 <property name="snap_to_ticks">True</property>
                 <property name="numeric">True</property>
-                <property name="update_policy">if-valid</property>
               </widget>
               <packing>
                 <property name="expand">False</property>
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 86d227a..e7db61b 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -2379,7 +2379,9 @@ public partial class ChronoJumpWindow
 
 	//show spinbutton window asking for how many people to create	
 	private void on_person_add_multiple_clicked (object o, EventArgs args) {
-		genericWin = GenericWindow.Show(Catalog.GetString("Select number of persons to add"), Constants.GenericWindowShow.SPININT);
+		genericWin = GenericWindow.Show(Catalog.GetString("Select number of persons to add") + "\n" + 
+				Catalog.GetString("If you want to add more than 40 persons, do this process two times.")
+				, Constants.GenericWindowShow.SPININT);
 		genericWin.SetSpinRange(1.0, 40.0);
 		genericWin.Button_accept.Clicked += new EventHandler(on_person_add_multiple_prepared);
 	}
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index b814ba5..02b6cc9 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -72,7 +72,6 @@ public partial class ChronoJumpWindow
 
 	//TODO: check all repetitive conditions areok on pyserial and on treeview
 	//TODO: fix spinbutton on repetitive conditions (page...) to ensure decimal can be selected
-	//TODO: put chancel button
 	
 	//TODO: improve message if chronopic is not connected
 



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