[chronojump] ServerPing thread on start ends correctly now (if server is unavailable)
- From: Xavier de Blas <xaviblas src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [chronojump] ServerPing thread on start ends correctly now (if server is unavailable)
- Date: Wed, 5 Aug 2009 11:09:35 +0000 (UTC)
commit 14aea3b3e55e16b0f89277c6b1de30dac76f7d0c
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Aug 5 13:09:06 2009 +0200
ServerPing thread on start ends correctly now (if server is unavailable)
Accelerator to edit person: 'E'
unable now to search on persons at main treeview
TODO.txt | 6 +-----
build/data/chronojump.prg | Bin 3019264 -> 3019264 bytes
build/data/chronojump_mini.prg | Bin 39936 -> 39936 bytes
changelog.txt | 5 +++++
glade/chronojump.glade | 6 ++++--
src/chronojump.cs | 8 +++++---
6 files changed, 15 insertions(+), 10 deletions(-)
---
diff --git a/TODO.txt b/TODO.txt
index 6c5af94..0df92aa 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -1,10 +1,6 @@
TODO:
-if problems connecting, ping continues and if program is closed soon, have to wait a minute to ping ends. try to kill that ping if there are problems
-
-
-mirar crash a l'obrir-se eventexecute window a WINDOWS
- mirar que no es quedi mort si no es fa clic a la plataforma després del runAnalysis, si es queda mort llavors que no es pugui executar cap test, que es quedi tot insensitive fins que s'apreti la platforma
+on server upload, allow to not upload a selected person if desired
website velleman put retardo de desactivacion instead of tiempo de respuesta ajustable
diff --git a/build/data/chronojump.prg b/build/data/chronojump.prg
index 33b8beb..65c4827 100755
Binary files a/build/data/chronojump.prg and b/build/data/chronojump.prg differ
diff --git a/build/data/chronojump_mini.prg b/build/data/chronojump_mini.prg
index 10d12a8..ab0e22c 100755
Binary files a/build/data/chronojump_mini.prg and b/build/data/chronojump_mini.prg differ
diff --git a/changelog.txt b/changelog.txt
index 01eb713..5fc1895 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,5 +1,10 @@
CHANGELOG.txt
+5 ago 2009 (2)
+ ServerPing thread on start ends correctly now (if server is unavailable)
+ unable now to search on persons at main treeview
+ Accelerator to edit person: 'E'
+
5 ago 2009
windows driver changed to CDM 2.04.16.exe (numerous bug fixes, and runs on tested systems that previous driver didn't)
crash fixed: when personAddMultiple in a session with speciallities defined, it crashed before.
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index 39a7b8a..d1b92b9 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -10188,11 +10188,13 @@ suitable for agility tests)</property>
<child>
<widget class="GtkButton" id="button_edit_current_person">
<property name="visible">True</property>
- <property name="tooltip" translatable="yes">Edit selected person</property>
+ <property name="tooltip" translatable="yes">Edit selected person (E)</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_edit_current_person_clicked" last_modification_time="Sun, 07 Nov 2004 18:48:06 GMT"/>
+ <accelerator key="e" modifiers="GDK_SHIFT_MASK" signal="clicked"/>
+ <accelerator key="E" modifiers="0" signal="clicked"/>
<child>
<widget class="GtkImage" id="image1977">
@@ -10265,7 +10267,7 @@ suitable for agility tests)</property>
<property name="headers_visible">True</property>
<property name="rules_hint">False</property>
<property name="reorderable">False</property>
- <property name="enable_search">True</property>
+ <property name="enable_search">False</property>
<property name="fixed_height_mode">False</property>
<property name="hover_selection">False</property>
<property name="hover_expand">False</property>
diff --git a/src/chronojump.cs b/src/chronojump.cs
index 948fb71..adef3ad 100644
--- a/src/chronojump.cs
+++ b/src/chronojump.cs
@@ -342,7 +342,7 @@ Console.WriteLine("--2.1--");
Console.WriteLine("--4--");
splashShowButton = false;
Console.Write(" version: " + versionAvailable);
-Console.WriteLine("--5--");
+Console.WriteLine("\n--5--");
pingEnd = true;
Console.WriteLine("--6--");
}
@@ -466,7 +466,7 @@ Console.WriteLine("--6--");
}
private void on_splash_ended(object o, EventArgs args) {
- Log.WriteLine("splash screen going to END");
+ Log.WriteLine("\nsplash screen going to END");
fakeSplashButton.Clicked -= new EventHandler(on_splash_ended);
splashWin.Destroy();
Log.WriteLine("splash screen ENDED!");
@@ -477,7 +477,7 @@ Console.WriteLine("--6--");
{
if(pulseGTKPingShouldEnd) {
splashWin.CancelButtonShow(false);
- Log.WriteLine("ping going to END");
+ Log.WriteLine("\nping going to END");
return false;
}
@@ -488,6 +488,8 @@ Console.WriteLine("--6--");
Thread.Sleep (50);
Log.Write(" PulseGTKPing:" + thread.ThreadState.ToString());
+ if(thread.ThreadState == System.Threading.ThreadState.Stopped)
+ pulseGTKPingShouldEnd = true;
return true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]