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

chronojump r408 - in trunk: . build/data build/data/locale/es/LC_MESSAGES glade manual po src src/gui



Author: xaviblas
Date: Fri Aug  1 14:04:23 2008
New Revision: 408
URL: http://svn.gnome.org/viewvc/chronojump?rev=408&view=rev

Log:
0.7.4.3
fixed: 545524 When created session, say "create/load athletes"
fixed: 545522 Convert weight doesn't work ok. It worked ok, bad bug.
improved also on window for unselecting "all" checkboxes when an unique checkbox is toggled
fixed: 545521 when configured port, combo on treeview event is blank.
Unable to reproduce. Is when created jump or run type. Fixed.

fixed: 545520 created a jump type, doesn't appear at stats (also for runType)

Fixed: if a new jump was created, and it's name exist, showed a message, but add jump type window is closed.

event combos now they are not re-called multiple times:
combo_jumps.Changed -= new EventHandler (on_combo_jumps_changed);

improved manual


Modified:
   trunk/build/data/chronojump.prg
   trunk/build/data/chronojump_mini.prg
   trunk/build/data/locale/es/LC_MESSAGES/chronojump.mo
   trunk/build/data/version.txt
   trunk/changelog.txt
   trunk/glade/chronojump.glade
   trunk/manual/chronojump_manual_es.lyx
   trunk/manual/chronojump_manual_es.pdf
   trunk/po/es.po
   trunk/src/constants.cs
   trunk/src/gui/chronojump.cs
   trunk/src/gui/convertWeight.cs
   trunk/src/gui/jumpType.cs
   trunk/src/gui/runType.cs
   trunk/src/gui/session.cs
   trunk/version.txt

Modified: trunk/build/data/chronojump.prg
==============================================================================
Binary files. No diff available.

Modified: trunk/build/data/chronojump_mini.prg
==============================================================================
Binary files. No diff available.

Modified: trunk/build/data/locale/es/LC_MESSAGES/chronojump.mo
==============================================================================
Binary files. No diff available.

Modified: trunk/build/data/version.txt
==============================================================================
--- trunk/build/data/version.txt	(original)
+++ trunk/build/data/version.txt	Fri Aug  1 14:04:23 2008
@@ -1 +1 @@
-0.7.4.2
+0.7.4.3

Modified: trunk/changelog.txt
==============================================================================
--- trunk/changelog.txt	(original)
+++ trunk/changelog.txt	Fri Aug  1 14:04:23 2008
@@ -1,5 +1,24 @@
 CHRONOJUMP DETAILED CHANGELOG:
 
+1 ago 2008
+	0.7.4.3
+	fixed: 545524 When created session, say "create/load athletes"
+	fixed: 545522 Convert weight doesn't work ok. It worked ok, bad bug.
+	improved also on window for unselecting "all" checkboxes when an unique
+	checkbox is toggled
+	fixed: 545521 when configured port, combo on treeview event is blank.
+	Unable to reproduce. Is when created jump or run type. Fixed.
+
+	fixed: 545520 created a jump type, doesn't appear at stats (also for
+	runType)
+
+	Fixed: if a new jump was created, and it's name exist, showed a message, but add jump type window is closed.
+
+	event combos now they are not re-called multiple times:
+	combo_jumps.Changed -= new EventHandler (on_combo_jumps_changed);
+
+	improved manual
+
 30 jul 2008 (2)
 	0.7.4.2 
 	fixed crash in convertWeight (it was doing it in new user)

Modified: trunk/glade/chronojump.glade
==============================================================================
--- trunk/glade/chronojump.glade	(original)
+++ trunk/glade/chronojump.glade	Fri Aug  1 14:04:23 2008
@@ -60,7 +60,7 @@
 	  <property name="n_columns">2</property>
 	  <property name="homogeneous">False</property>
 	  <property name="row_spacing">4</property>
-	  <property name="column_spacing">0</property>
+	  <property name="column_spacing">8</property>
 
 	  <child>
 	    <widget class="GtkLabel" id="label19">

Modified: trunk/manual/chronojump_manual_es.lyx
==============================================================================
--- trunk/manual/chronojump_manual_es.lyx	(original)
+++ trunk/manual/chronojump_manual_es.lyx	Fri Aug  1 14:04:23 2008
@@ -5,6 +5,7 @@
 \textclass article
 \begin_preamble
 \usepackage{a4wide}
+\usepackage{url}
 \end_preamble
 \language spanish
 \inputencoding auto
@@ -17,7 +18,7 @@
 \font_sf_scale 100
 \font_tt_scale 100
 \graphics default
-\float_placement !h
+\float_placement p
 \paperfontsize default
 \spacing single
 \papersize default
@@ -260,6 +261,7 @@
 
 \begin_layout Standard
 \begin_inset Float table
+placement H
 wide false
 sideways false
 status open
@@ -553,7 +555,6 @@
 
 \begin_layout Standard
 \begin_inset Float figure
-placement p
 wide false
 sideways false
 status open
@@ -590,7 +591,6 @@
 
 \begin_layout Standard
 \begin_inset Float figure
-placement p
 wide false
 sideways false
 status open
@@ -627,7 +627,6 @@
 
 \begin_layout Standard
 \begin_inset Float figure
-placement p
 wide false
 sideways false
 status open
@@ -665,7 +664,6 @@
 \begin_layout Standard
 \noindent
 \begin_inset Float figure
-placement p
 wide false
 sideways false
 status open
@@ -739,7 +737,6 @@
 
 \begin_layout Standard
 \begin_inset Float figure
-placement h
 wide false
 sideways false
 status open
@@ -940,11 +937,18 @@
 
 \begin_layout Standard
 El sistema operativo asigna nombres a los puertos, tal y como se indica
- en el siguiente cuadro:
+ en el cuadro 
+\begin_inset LatexCommand ref
+reference "tab:Nombres-de-puerto"
+
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Standard
 \begin_inset Float table
+placement H
 wide false
 sideways false
 status open
@@ -1172,6 +1176,11 @@
 \begin_inset Caption
 
 \begin_layout Standard
+\begin_inset LatexCommand label
+name "tab:Nombres-de-puerto"
+
+\end_inset
+
 Nombres de puerto en cada sistema operativo.
  Los nombres más usuales se muestran en negrita.
 \end_layout
@@ -1278,27 +1287,79 @@
 \end_layout
 
 \begin_layout Standard
-Por un error de Mono que 
-\begin_inset LatexCommand url
-name "hemos documentado"
-target "http://mail.gnome.org/archives/chronojump-devel-list/2008-January/msg00048.html";
+Por un error de Mono que hemos documentado
+\begin_inset Foot
+status open
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Standard
+
+ 
+\backslash
+url{http://mail.
+ gnome.
+ org/ archives/ chronojump- devel- list/ 2008-January/ msg00048.html}
+\end_layout
 
 \end_inset
 
- y 
-\begin_inset LatexCommand url
-name "encontrado su origen"
-target "http://mail.gnome.org/archives/chronojump-devel-list/2008-January/msg00050.html";
+
+\end_layout
 
 \end_inset
 
-, la Chronopic3 no puede conectarse a Chronojump en los Kernels 2.6.20-2.6.23.
- La solución es actualizar el Kernel a 2.6.24 o superior.
- Si no desea actualizar su distribución, puede seguir este ejemplo para
- Ubuntu Hardy 
-\begin_inset LatexCommand url
-name "este enlace"
-target "http://msdark.atwebpages.com/actualizar-kernel-a-la-version-2624-de-ubuntu-hardy-para-ubuntu-gutsy";
+ y encontrado su origen 
+\begin_inset Foot
+status open
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Standard
+
+
+\backslash
+url{http://mail.
+ gnome.
+ org/ archives/ chronojump- devel- list/ 2008-January/ msg00050.html}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+, la placa Chronopic3 no puede conectarse a Chronojump en los Kernels 2.6.20-2.6.23.
+ La solución es actualizar el Kernel a 2.6.24 o superior 
+\begin_inset Foot
+status open
+
+\begin_layout Standard
+Si no desea actualizar su distribución, puede seguir este ejemplo para Ubuntu
+ Hardy seguir este enlace: 
+\begin_inset ERT
+status open
+
+\begin_layout Standard
+
+
+\backslash
+url{http://msdark.
+ atwebpages.
+ com/ actualizar-kernel -a-la-version-2624- de-ubuntu-hardy- para-ubuntu-
+ gutsy}
+\end_layout
+
+\end_inset
+
+
+\end_layout
 
 \end_inset
 
@@ -1859,7 +1920,6 @@
 
 \begin_layout Standard
 \begin_inset Float figure
-placement p
 wide false
 sideways false
 status open
@@ -1902,7 +1962,6 @@
 
 \begin_layout Standard
 \begin_inset Float figure
-placement p
 wide false
 sideways false
 status open
@@ -2014,7 +2073,62 @@
  Hay que notar que no se debe crear un mismo sujeto más de una vez, ya que
  para que pueda estudiarse su evolución en el tiempo (diferentes sesiones)
  se recomienda enérgicamente crear el sujeto sólo una vez, las otras veces
- (en las siguientes sesiones) se deberá cargar el sujeto.
+ (en las siguientes sesiones) se deberá 
+\emph on
+cargar
+\emph default
+ el sujeto en la sesión actual.
+\end_layout
+
+\begin_layout Standard
+La figura 
+\begin_inset LatexCommand ref
+reference "fig:Creación-de-un-sujeto"
+
+\end_inset
+
+ muestra la creación de un sujeto.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+wide false
+sideways false
+status open
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Graphics
+	filename Captura-Nuevo saltador.png
+	lyxscale 50
+	scale 50
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
+\begin_inset LatexCommand label
+name "fig:Creación-de-un-sujeto"
+
+\end_inset
+
+Creación de un sujeto.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Subsection
@@ -2058,8 +2172,10 @@
 Crear sujeto
 \emph default
  para crear un sujeto.
- Podrá indicar el nombre completo, sexo, fecha de nacimiento, altura, peso
- y comentarios, los campos nombre y peso son obligatorios.
+ Podrá indicar el nombre completo, sexo, fecha de nacimiento, altura, peso,
+ país, deporte, modalidad, nivel y comentarios.
+ Los campos obligatorios son: nombre, fecha de nacimiento, peso, deporte,
+ modalidad (si se aplica) y nivel.
  Es importante que el nombre sea lo más completo posible para que no se
  produzcan conflictos más adelante con otros sujetos distintos.
  
@@ -2071,10 +2187,58 @@
 \emph on
 Sujeto / Crear sujetos [multiple]
 \emph default
- y se le presentará una ventana en la que podrá crear hasta 10 sujetos a
- la vez.
- Una vez creados podrá volver a hacer clic en el mismo elemento de menú
- para crear más sujetos.
+ y se le presentará una ventana en la que podrá crear multiples sujetos
+ a la vez.
+ Una vez creados, si aún desea crear más sujetos, podrá volver a hacer clic
+ en el mismo elemento de menú.
+ La figura 
+\begin_inset LatexCommand ref
+reference "fig:Creación-de-diversos"
+
+\end_inset
+
+ muestra la creación de 11 sujetos a la vez.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+wide false
+sideways false
+status open
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Graphics
+	filename Captura-Añadir-Editar múltiples personas.png
+	lyxscale 50
+	scale 50
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
+\begin_inset LatexCommand label
+name "fig:Creación-de-diversos"
+
+\end_inset
+
+Creación de diversos sujeto de forma simultánea.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Subsection
@@ -2105,6 +2269,108 @@
  En todo momento podrá descartar algún sujeto si lo desea.
 \end_layout
 
+\begin_layout Standard
+Las figuras 
+\begin_inset LatexCommand ref
+reference "fig:Cargar-atletas"
+
+\end_inset
+
+ y 
+\begin_inset LatexCommand ref
+reference "fig:Cargar-atletas-otra_sesion"
+
+\end_inset
+
+ muestran la carga de sujetos.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+wide false
+sideways false
+status open
+
+\begin_layout Standard
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Graphics
+	filename Captura-Cargar atletas.png
+	lyxscale 50
+	scale 50
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
+\begin_inset LatexCommand label
+name "fig:Cargar-atletas"
+
+\end_inset
+
+Cargar atletas
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+wide false
+sideways false
+status open
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Graphics
+	filename Captura-Cargar_atletas_otra_sesion.png
+	lyxscale 50
+	scale 50
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
+\begin_inset LatexCommand label
+name "fig:Cargar-atletas-otra_sesion"
+
+\end_inset
+
+Cargar atletas de otra sesión
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Subsection
 Visualización de tests de sujeto
 \end_layout
@@ -2114,8 +2380,7 @@
 \emph on
 Mostrar todos los tests del sujeto actual
 \emph default
- para ver todos los saltos y carreras que ha realizado dicho sujeto en diferente
-s sesiones.
+ para ver todos los tests que ha realizado dicho sujeto en diferentes sesiones.
  También puede seleccionar otros sujetos de la sesión actual o de otras.
 \end_layout
 
@@ -2142,7 +2407,7 @@
 \emph on
 Borrar sujeto actual de la sesión actual
 \emph default
- para desuscribir el sujeto actual de la sesión en curso.
+ para eliminar el sujeto actual de la sesión en curso.
  Esta operación eliminará todos los tests que haya realizado dicha persona
  en la sesión actual.
  Es importante saber que el sujeto no será eliminado de la base de datos
@@ -2158,7 +2423,8 @@
 \emph on
 sujeto actual
 \emph default
- y por tanto no se podrán ejecutar tests.
+ y por tanto no se podrán ejecutar tests en la sesión actual hasta que no
+ se cree o cargue un sujeto.
 \end_layout
 
 \begin_layout Section
@@ -2198,7 +2464,7 @@
  de caída determinada o con un antesalto) para caer en la plataforma y seguidame
 nte realizar el salto.
  Se obtienen las variables: Tiempo de contacto (TC) (momento entre la recepción
- de caída o antesalto y el siguiente despegue) y Tiempo de vuelo (TV).
+ de caída o antesalto y el despegue) y Tiempo de vuelo (TV).
  Normalmente se pretenderá conseguir saltos con mínimo tiempo de contacto
  y máximo tiempo de vuelo como indicador de potencia.
 \end_layout
@@ -2460,7 +2726,54 @@
 \begin_inset Quotes erd
 \end_inset
 
-, podrá configurar estas acciones.
+, podrá configurar estas acciones tal y como se observa en la figura 
+\begin_inset LatexCommand ref
+reference "fig:Campanas---feedback"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+wide false
+sideways false
+status open
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Graphics
+	filename campanas.png
+	lyxscale 50
+	scale 50
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
+\begin_inset LatexCommand label
+name "fig:Campanas---feedback"
+
+\end_inset
+
+Campanas - feedback auditivo y visual.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Subsubsection
@@ -2590,7 +2903,7 @@
 \emph on
 Preferencias
 \emph default
- (más información en la sección 
+ (más información en el apartado 
 \begin_inset LatexCommand vref
 reference "sec:Preferencias"
 
@@ -2629,7 +2942,7 @@
  usado en cualquier sesión y será automáticamente accesible a través del
  botón 
 \emph on
-More
+Más
 \emph default
  en las pestañas de 
 \emph on
@@ -2640,8 +2953,8 @@
 Salto Reactivo
 \emph default
  en función del tipo de salto que se cree.
- Por último, el nuevo tipo de salto será también distinguido en el restos
- de partes del programa: estadísticas, gráficas e informes.
+ Por último, el nuevo tipo de salto será también distinguido en las estadísticas
+, gráficas e informes.
 \end_layout
 
 \begin_layout Standard
@@ -2656,15 +2969,14 @@
 Las opciones de límite por tiempo o por saltos podrán ser ajustadas con
  un valor fijo predefinido o dejarlas indefinidas.
  En caso de que se ajusten a un valor fijo, el nuevo tipo de salto en todos
- los casos se encontrará limitado por dicho valor; en caso contrario, se
- preguntará al usuario a cada salto qué valor debe tomar el factor limitante.
+ los casos se encontrará limitado por dicho valor; en caso contrario, en
+ cada salto se preguntará al usuario qué valor debe tomar el factor limitante.
 \end_layout
 
 \begin_layout Standard
 Por último se presentan las opciones de iniciar el salto encima de la plataforma
  o fuera de ella, contemplar un peso extra adicional.
- La ventana de creación de nuevo tipo de salto concluye con la posibilidad
- de añadir una descripción textual al mismo.
+ Se concluye con la posibilidad de añadir una descripción textual al mismo.
  En la figura 
 \begin_inset LatexCommand ref
 reference "fig:Creación-de-nuevo-tipo-salto"
@@ -2683,7 +2995,7 @@
 \begin_layout Standard
 \align center
 \begin_inset Graphics
-	filename chronojump_new_jump_type_spanish.png
+	filename Captura-Crear un tipo de salto nuevo.png
 	lyxscale 50
 	scale 50
 
@@ -2817,6 +3129,7 @@
 
 \begin_layout Standard
 \begin_inset Float table
+placement H
 wide false
 sideways false
 status open
@@ -3904,6 +4217,7 @@
 
 \begin_layout Standard
 \begin_inset Float table
+placement H
 wide false
 sideways false
 status open
@@ -4425,7 +4739,7 @@
 \end_layout
 
 \begin_layout Section
-Estadísticas
+Estadísticas y gráficas
 \end_layout
 
 \begin_layout Standard
@@ -4943,7 +5257,7 @@
  respectivamente.
 \end_layout
 
-\begin_layout Section
+\begin_layout Subsection
 Creación de gráficos
 \begin_inset LatexCommand label
 name "sub:Creación-de-graficos"
@@ -5011,6 +5325,27 @@
 \end_layout
 
 \begin_layout Section
+Informes y exportaciones
+\end_layout
+
+\begin_layout Standard
+Se proponen dos formas de continuar trabajando con sus datos sin usar ya
+ el programa Chronojump.
+ En el primer caso: 
+\emph on
+Generación de informes
+\emph default
+, con la utilidad de crear una página web con el contenido de la sesión
+ así como las estadísticas y gráficas seleccionadas; En el segundo caso:
+ 
+\emph on
+Exportación a hoja de cálculo
+\emph default
+, se exportan los datos de los tests para su analisis con programas de cálculo
+ de propósito general (hojas de cálculo).
+\end_layout
+
+\begin_layout Subsection
 Generación de informes
 \begin_inset LatexCommand label
 name "sec:Generación-de-Informes"
@@ -5066,6 +5401,12 @@
 \end_layout
 
 \begin_layout Standard
+Para la impresión de dicho informe -así como de cualquier página web- se
+ recomienda encarecidamente el navegador libre Mozilla Firefox, pues la
+ impresión en Internet Explorer es poco respetuosa con el original.
+\end_layout
+
+\begin_layout Standard
 \begin_inset Float figure
 wide false
 sideways false
@@ -5105,7 +5446,7 @@
 
 \end_layout
 
-\begin_layout Section
+\begin_layout Subsection
 Exportación a hoja de cálculo
 \end_layout
 

Modified: trunk/manual/chronojump_manual_es.pdf
==============================================================================
Binary files. No diff available.

Modified: trunk/src/constants.cs
==============================================================================
--- trunk/src/constants.cs	(original)
+++ trunk/src/constants.cs	Fri Aug  1 14:04:23 2008
@@ -248,22 +248,15 @@
 	public static int CountryUndefinedID = 1;
 	public static string CountryUndefined = "Undefined"; 
 	public static string ContinentUndefined = "Undefined"; 
-	private static string ctr1 = "Africa";
-	private static string ctr2 = "Antarctica";
-	private static string ctr3 = "Asia";
-	private static string ctr4 = "Europe";
-	private static string ctr5 = "North America";
-	private static string ctr6 = "Oceania";
-	private static string ctr7 = "South America";
 	public static string [] Continents = {
 		ContinentUndefined + ":" + Catalog.GetString(ContinentUndefined), 
-		ctr1 + ":" + Catalog.GetString(ctr1),
-		ctr2 + ":" + Catalog.GetString(ctr2),
-		ctr3 + ":" + Catalog.GetString(ctr3),
-		ctr4 + ":" + Catalog.GetString(ctr4),
-		ctr5 + ":" + Catalog.GetString(ctr5),
-		ctr6 + ":" + Catalog.GetString(ctr6),
-		ctr7 + ":" + Catalog.GetString(ctr7),
+		"Africa" + ":" + Catalog.GetString("Africa"),
+		"Antarctica" + ":" + Catalog.GetString("Antarctica"),
+		"Asia" + ":" + Catalog.GetString("Asia"),
+		"Europe" + ":" + Catalog.GetString("Europe"),
+		"North America" + ":" + Catalog.GetString("North America"),
+		"Oceania" + ":" + Catalog.GetString("Oceania"),
+		"South America" + ":" + Catalog.GetString("South America"),
 	};
 	
 	//levels of sport practice

Modified: trunk/src/gui/chronojump.cs
==============================================================================
--- trunk/src/gui/chronojump.cs	(original)
+++ trunk/src/gui/chronojump.cs	Fri Aug  1 14:04:23 2008
@@ -900,7 +900,7 @@
 
 	private void fillTreeView_jumps (string filter) {
 		string [] myJumps;
-		
+	
 		myJumps = SqliteJump.SelectJumps(currentSession.UniqueID, -1, "");
 		myTreeViewJumps.Fill(myJumps, filter);
 
@@ -1394,6 +1394,8 @@
 	}
 
 	private void on_combo_jumps_changed(object o, EventArgs args) {
+		combo_jumps.Changed -= new EventHandler (on_combo_jumps_changed);
+
 		ComboBox combo = o as ComboBox;
 		if (o == null)
 			return;
@@ -1404,6 +1406,8 @@
 	}
 	
 	private void on_combo_jumps_rj_changed(object o, EventArgs args) {
+		combo_jumps_rj.Changed -= new EventHandler (on_combo_jumps_rj_changed);
+
 		ComboBox combo = o as ComboBox;
 		if (o == null)
 			return;
@@ -1414,6 +1418,8 @@
 	}
 
 	private void on_combo_runs_changed(object o, EventArgs args) {
+		combo_runs.Changed -= new EventHandler (on_combo_runs_changed);
+
 		ComboBox combo = o as ComboBox;
 		if (o == null)
 			return;
@@ -1424,6 +1430,8 @@
 	}
 
 	private void on_combo_runs_interval_changed(object o, EventArgs args) {
+		combo_runs_interval.Changed -= new EventHandler (on_combo_runs_interval_changed);
+
 		ComboBox combo = o as ComboBox;
 		if (o == null)
 			return;
@@ -1436,6 +1444,8 @@
 	//no need of reationTimes
 	
 	private void on_combo_pulses_changed(object o, EventArgs args) {
+		combo_pulses.Changed -= new EventHandler (on_combo_pulses_changed);
+
 		ComboBox combo = o as ComboBox;
 		if (o == null)
 			return;
@@ -1541,6 +1551,13 @@
 		
 			//update report
 			report.SessionID = currentSession.UniqueID;
+
+			//feedback (more in 1st session created)
+			string feedbackLoadUsers = Catalog.GetString ("Session created, now add or load persons.");
+			if(currentSession.UniqueID == 1)
+				new DialogMessage(Constants.MessageTypes.INFO, feedbackLoadUsers);
+			else
+				appbar2.Push ( 1, feedbackLoadUsers);
 		}
 	}
 	
@@ -3914,26 +3931,30 @@
 		Log.WriteLine("Add new jump type");
 			
 		jumpTypeAddWin = JumpTypeAddWindow.Show(app1);
-		jumpTypeAddWin.Button_accept.Clicked += new EventHandler(on_jump_type_add_accepted);
+		jumpTypeAddWin.FakeButtonAccept.Clicked += new EventHandler(on_jump_type_add_accepted);
 	}
 	
 	private void on_jump_type_add_accepted (object o, EventArgs args) {
 		Log.WriteLine("ACCEPTED Add new jump type");
 		UtilGtk.ComboUpdate(combo_jumps, SqliteJumpType.SelectJumpTypes(Constants.AllJumpsName, "", true), ""); //without filter, only select name
 		UtilGtk.ComboUpdate(combo_jumps_rj, SqliteJumpType.SelectJumpRjTypes(Constants.AllJumpsName, true), ""); //without filter, only select name
+		combo_jumps.Active = 0;
+		combo_jumps_rj.Active = 0;
 	}
 
 	private void on_run_type_add_activate (object o, EventArgs args) {
 		Log.WriteLine("Add new run type");
 			
 		runTypeAddWin = RunTypeAddWindow.Show(app1);
-		runTypeAddWin.Button_accept.Clicked += new EventHandler(on_run_type_add_accepted);
+		runTypeAddWin.FakeButtonAccept.Clicked += new EventHandler(on_run_type_add_accepted);
 	}
 	
 	private void on_run_type_add_accepted (object o, EventArgs args) {
 		Log.WriteLine("ACCEPTED Add new run type");
 		UtilGtk.ComboUpdate(combo_runs, SqliteRunType.SelectRunTypes(Constants.AllRunsName, true), ""); //without filter, only select name
 		UtilGtk.ComboUpdate(combo_runs_interval, SqliteRunType.SelectRunIntervalTypes(Constants.AllRunsName, true), ""); //without filter, only select name
+		combo_runs.Active = 0;
+		combo_runs_interval.Active = 0;
 	}
 
 	//reactiontime has no types

Modified: trunk/src/gui/convertWeight.cs
==============================================================================
--- trunk/src/gui/convertWeight.cs	(original)
+++ trunk/src/gui/convertWeight.cs	Fri Aug  1 14:04:23 2008
@@ -187,6 +187,10 @@
 			} else {
 				store.SetValue (iter, columnThis, !val);
 				store.SetValue (iter, columnOther, val);
+				//usnelect "all" checkboxes
+				store.GetIterFirst(out iter);
+				store.SetValue (iter, columnThis, false);
+				store.SetValue (iter, columnOther, false);
 			}
 		}
 	}

Modified: trunk/src/gui/jumpType.cs
==============================================================================
--- trunk/src/gui/jumpType.cs	(original)
+++ trunk/src/gui/jumpType.cs	Fri Aug  1 14:04:23 2008
@@ -36,6 +36,7 @@
 {
 	[Widget] Gtk.Window jump_type_add;
 	[Widget] Gtk.Button button_accept;
+	public Gtk.Button fakeButtonAccept;
 	[Widget] Gtk.Entry entry_name;
 	[Widget] Gtk.RadioButton radiobutton_simple;
 	[Widget] Gtk.RadioButton radiobutton_repetitive;
@@ -62,6 +63,8 @@
 		gladeXML.Autoconnect(this);
 		this.parent =  parent;
 		
+		fakeButtonAccept = new Gtk.Button();
+
 		//put an icon to window
 		UtilGtk.IconWindow(jump_type_add);
 	}
@@ -162,10 +165,12 @@
 			}
 			
 			Log.WriteLine(string.Format("Inserted: {0}", myJump));
-		}
+		
+			fakeButtonAccept.Click();
 
-		JumpTypeAddWindowBox.jump_type_add.Hide();
-		JumpTypeAddWindowBox = null;
+			JumpTypeAddWindowBox.jump_type_add.Hide();
+			JumpTypeAddWindowBox = null;
+		}
 	}
 
 	void on_radiobutton_simple_toggled (object o, EventArgs args)
@@ -211,13 +216,13 @@
 		}
 	}
 		
-
-	public Button Button_accept 
+	public Button FakeButtonAccept 
 	{
-		set { button_accept = value;	}
-		get { return button_accept;	}
+		set { fakeButtonAccept = value; }
+		get { return fakeButtonAccept; }
 	}
 
+
 }
 
 

Modified: trunk/src/gui/runType.cs
==============================================================================
--- trunk/src/gui/runType.cs	(original)
+++ trunk/src/gui/runType.cs	Fri Aug  1 14:04:23 2008
@@ -36,6 +36,7 @@
 {
 	[Widget] Gtk.Window run_type_add;
 	[Widget] Gtk.Button button_accept;
+	public Gtk.Button fakeButtonAccept;
 	[Widget] Gtk.Entry entry_name;
 	[Widget] Gtk.RadioButton radiobutton_simple;
 	[Widget] Gtk.RadioButton radiobutton_interval;
@@ -61,6 +62,8 @@
 		gladeXML.Autoconnect(this);
 		this.parent = parent;
 		
+		fakeButtonAccept = new Gtk.Button();
+
 		//put an icon to window
 		UtilGtk.IconWindow(run_type_add);
 	}
@@ -158,10 +161,13 @@
 			}
 			
 			Log.WriteLine(string.Format("Inserted: {0}", myRun));
+			
+			fakeButtonAccept.Click();
+		
+			RunTypeAddWindowBox.run_type_add.Hide();
+			RunTypeAddWindowBox = null;
 		}
 
-		RunTypeAddWindowBox.run_type_add.Hide();
-		RunTypeAddWindowBox = null;
 	}
 
 	void on_radiobutton_simple_toggled (object o, EventArgs args)
@@ -217,12 +223,12 @@
 			button_accept.Sensitive = false;
 		}
 	}
-		
 
-	public Button Button_accept 
+
+	public Button FakeButtonAccept 
 	{
-		set { button_accept = value;	}
-		get { return button_accept;	}
+		set { fakeButtonAccept = value; }
+		get { return fakeButtonAccept; }
 	}
 
 }

Modified: trunk/src/gui/session.cs
==============================================================================
--- trunk/src/gui/session.cs	(original)
+++ trunk/src/gui/session.cs	Fri Aug  1 14:04:23 2008
@@ -596,7 +596,7 @@
 			else
 				levelID = Util.FetchID(UtilGtk.ComboGetActive(combo_levels));
 
-			if(addSession)
+			if(addSession) 
 				currentSession = new Session (entry_name.Text, entry_place.Text, myDate, 
 						sportID, speciallityID, levelID,
 						textview.Buffer.Text);

Modified: trunk/version.txt
==============================================================================
--- trunk/version.txt	(original)
+++ trunk/version.txt	Fri Aug  1 14:04:23 2008
@@ -1 +1 @@
-0.7.4.2
+0.7.4.3


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