[gbrainy] Do not show game status on the status bar after game is finished
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Do not show game status on the status bar after game is finished
- Date: Sat, 30 Apr 2011 14:47:03 +0000 (UTC)
commit 205b1c17459d1c09abc10149c908ad78791b863e
Author: Jordi Mas <jmas softcatala org>
Date: Sat Apr 30 16:48:20 2011 +0200
Do not show game status on the status bar after game is finished
src/Core/Main/GameSession.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Main/GameSession.cs b/src/Core/Main/GameSession.cs
index c486570..07cfbb1 100644
--- a/src/Core/Main/GameSession.cs
+++ b/src/Core/Main/GameSession.cs
@@ -169,7 +169,7 @@ namespace gbrainy.Core.Main
public string StatusText {
get {
- if (Status == SessionStatus.NotPlaying)
+ if (Status == SessionStatus.NotPlaying || Status == SessionStatus.Finished)
return string.Empty;
string played, time, game;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]