[chronojump] Fixed Chronopic detection on start DJ and RJ
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed Chronopic detection on start DJ and RJ
- Date: Fri, 11 Jun 2010 06:13:48 +0000 (UTC)
commit 0e676c091bc6fd7091e898eca382d9228248a154
Author: Xavier de Blas <xaviblas master gnome org>
Date: Fri Jun 11 13:22:56 2010 +0800
Fixed Chronopic detection on start DJ and RJ
src/execute/jump.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/execute/jump.cs b/src/execute/jump.cs
index 50cca44..f30cea8 100644
--- a/src/execute/jump.cs
+++ b/src/execute/jump.cs
@@ -192,7 +192,7 @@ public class JumpExecute : EventExecute
GLib.Idle.Add (new GLib.IdleHandler (PulseGTK));
thread.Start();
}
- else if (platformState==Chronopic.Plataforma.OFF) {
+ else if (platformState==Chronopic.Plataforma.ON) {
ConfirmWindow confirmWin;
confirmWin = ConfirmWindow.Show(
Catalog.GetString("You are IN, please leave the platform, and press the 'accept' button"), "", "");
@@ -523,7 +523,7 @@ public class JumpRjExecute : JumpExecute
if(platformState == Chronopic.Plataforma.OFF)
loggedState = States.OFF;
- else if(platformState == Chronopic.Plataforma.OFF)
+ else if(platformState == Chronopic.Plataforma.ON)
loggedState = States.ON;
else { //UNKNOW (Chronopic disconnected, port changed, ...)
chronopicHasBeenDisconnected();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]