[chronojump] code cleaning



commit d7c42abdf594cc1a8ff480cf81b4c1c51ef776df
Author: Xavier de Blas <xaviblas master gnome org>
Date:   Wed Jun 2 17:57:37 2010 +0800

    code cleaning

 src/execute/jump.cs |   30 ------------------------------
 src/execute/run.cs  |   10 ----------
 2 files changed, 0 insertions(+), 40 deletions(-)
---
diff --git a/src/execute/jump.cs b/src/execute/jump.cs
index a9ed2d3..50cca44 100644
--- a/src/execute/jump.cs
+++ b/src/execute/jump.cs
@@ -155,16 +155,6 @@ public class JumpExecute : EventExecute
 		}
 		else { //UNKNOW (Chronopic disconnected, port changed, ...)
 			chronopicHasBeenDisconnected();
-/*
-			chronopicDisconnected = true;
-			ErrorWindow errorWin;		
-			errorWin = ErrorWindow.Show( 
-					Catalog.GetString("Chronopic seems disconnected. Reconnect again on Chronopic Window."));
-
-			Util.PlaySound(Constants.SoundTypes.BAD, volumeOn);
-
-			errorWin.Button_accept.Clicked += new EventHandler(cancel_event_before_start);
-*/
 		}
 	}
 
@@ -216,16 +206,6 @@ public class JumpExecute : EventExecute
 		}
 		else { //UNKNOW (Chronopic disconnected, port changed, ...)
 			chronopicHasBeenDisconnected();
-/*
-			chronopicDisconnected = true;
-			ErrorWindow errorWin;		
-			errorWin = ErrorWindow.Show( 
-					Catalog.GetString("Chronopic seems disconnected. Reconnect again on Chronopic Window."));
-
-			Util.PlaySound(Constants.SoundTypes.BAD, volumeOn);
-
-			errorWin.Button_accept.Clicked += new EventHandler(cancel_event_before_start);
-*/
 		}
 	}
 	
@@ -546,16 +526,6 @@ public class JumpRjExecute : JumpExecute
 		else if(platformState == Chronopic.Plataforma.OFF)
 			loggedState = States.ON;
 		else { //UNKNOW (Chronopic disconnected, port changed, ...)
-/*
-			chronopicDisconnected = true;
-			ErrorWindow errorWin;		
-			errorWin = ErrorWindow.Show( 
-					Catalog.GetString("Chronopic seems disconnected. Reconnect again on Chronopic Window."));
-			Util.PlaySound(Constants.SoundTypes.BAD, volumeOn);
-
-			errorWin.Button_accept.Clicked += new EventHandler(cancel_event_before_start);
-*/
-			
 			chronopicHasBeenDisconnected();
 			return;
 		}
diff --git a/src/execute/run.cs b/src/execute/run.cs
index 05ac4be..48c5a1f 100644
--- a/src/execute/run.cs
+++ b/src/execute/run.cs
@@ -129,16 +129,6 @@ Log.WriteLine("MANAGE(b)!!!!");
 		else { //UNKNOW (Chronopic disconnected, port changed, ...)
 			chronopicHasBeenDisconnected();
 			return;
-/*
-			chronopicDisconnected = true;
-			ErrorWindow errorWin;		
-			errorWin = ErrorWindow.Show( 
-					Catalog.GetString("Chronopic seems disconnected. Reconnect again on Chronopic Window."));
-
-			Util.PlaySound(Constants.SoundTypes.BAD, volumeOn);
-
-			errorWin.Button_accept.Clicked += new EventHandler(cancel_event_before_start);
-*/
 		}
 
 	



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