chronojump r470 - in trunk: . build/data src src/gui



Author: xaviblas
Date: Thu Mar  5 16:39:51 2009
New Revision: 470
URL: http://svn.gnome.org/viewvc/chronojump?rev=470&view=rev

Log:
Fixed versionAvailable insertion on preferences


Modified:
   trunk/build/data/chronojump.prg
   trunk/build/data/chronojump_mini.prg
   trunk/changelog.txt
   trunk/src/chronojump.cs
   trunk/src/gui/chronojump.cs

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/changelog.txt
==============================================================================
--- trunk/changelog.txt	(original)
+++ trunk/changelog.txt	Thu Mar  5 16:39:51 2009
@@ -2,15 +2,16 @@
 
 Add Cabedo's tests
 
-add a link to the server page
-
-develop web stats and survey on web site. Maybe done by R script and calling
+add a link to the server page. Develop web stats and survey on web site. Maybe done by R script and calling
 to database
 
 all this will be release 0.9
 
 do the ping gets real IP
 
+5 mar 2009 (2)
+	Fixed versionAvailable insertion on preferences
+
 5 mar 2009
 	0.8.2.6
 	evaluator code ended with encryption. Only pending the confiable flag:

Modified: trunk/src/chronojump.cs
==============================================================================
--- trunk/src/chronojump.cs	(original)
+++ trunk/src/chronojump.cs	Thu Mar  5 16:39:51 2009
@@ -256,7 +256,7 @@
 		}
 
 		string versionAvailableKnown = SqlitePreferences.Select("versionAvailable");
-		if( versionAvailableKnown.Length > 0 && versionAvailable != Constants.ServerOffline && versionAvailable != progVersion ) {
+		if( versionAvailable != Constants.ServerOffline && versionAvailable != progVersion ) {
 			//versionAvailable is higher than client version
 			if(versionAvailable != versionAvailableKnown) {
 				//is the first time we know about this new version
@@ -296,20 +296,16 @@
 
 	private void findVersion() {
 		pinging = true;
-	Console.Write(" 1 ");
 		pulseGTKPingShouldEnd = false;
-	Console.Write(" 2 ");
 		splashShowButton = true;
-	Console.Write(" 3 ");
+		
 		splashWin.FakeButtonCancel.Clicked += new EventHandler(on_find_version_cancelled);
-	Console.Write(" 4 ");
+		
 		versionAvailable = Server.Ping(true, progName, readVersion()); //doInsertion
-	Console.Write(" 5 ");
+		
 		splashShowButton = false;
-	Console.Write(" 6 ");
-	Console.Write(" version:  " + versionAvailable);
-
-	pinging = false;
+		Console.Write(" version:  " + versionAvailable);
+		pinging = false;
 	}
 		
 	private void on_find_version_cancelled(object o, EventArgs args) {

Modified: trunk/src/gui/chronojump.cs
==============================================================================
--- trunk/src/gui/chronojump.cs	(original)
+++ trunk/src/gui/chronojump.cs	Thu Mar  5 16:39:51 2009
@@ -952,7 +952,6 @@
 	
 	private void on_menuitem_server_evaluator_data (object o, EventArgs args) {
 		ServerEvaluator myEval = SqliteServer.SelectEvaluator(1);
-		//evalWin = new EvaluatorWindow(myEval);
 		evalWin = EvaluatorWindow.Show(myEval);
 		evalWin.FakeButtonAccept.Clicked += new EventHandler(on_evaluator_done);
 	}



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