[chronojump] Fixed convert from 0.72db and open server site on windows
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed convert from 0.72db and open server site on windows
- Date: Sat, 13 Mar 2010 03:28:21 +0000 (UTC)
commit fd3925f68735af53fec2f5ba51192f95809fbf45
Author: Xavier de Blas <xaviblas gmail com>
Date: Sat Mar 13 11:26:20 2010 +0800
Fixed convert from 0.72db and open server site on windows
src/gui/chronojump.cs | 7 ++++++-
src/oldCodeNeedToDBConvert/sqlite/personSession.cs | 2 +-
2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 9843746..06be5df 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -946,7 +946,12 @@ public class ChronoJumpWindow
}
private void on_menuitem_goto_server_website_activate (object o, EventArgs args) {
- System.Diagnostics.Process.Start(Constants.ChronojumpWebsite + Path.DirectorySeparatorChar + "server.html");
+ if(Util.IsWindows())
+ new DialogMessage(Constants.MessageTypes.INFO,
+ "http://www.chronojump.org/server.html" + "\n" +
+ "http://www.chronojump.org/server_es.html");
+ else
+ System.Diagnostics.Process.Start(Constants.ChronojumpWebsite + Path.DirectorySeparatorChar + "server.html");
}
/*
diff --git a/src/oldCodeNeedToDBConvert/sqlite/personSession.cs b/src/oldCodeNeedToDBConvert/sqlite/personSession.cs
index 9129d50..2493542 100644
--- a/src/oldCodeNeedToDBConvert/sqlite/personSession.cs
+++ b/src/oldCodeNeedToDBConvert/sqlite/personSession.cs
@@ -130,7 +130,7 @@ class SqlitePersonSessionOld : Sqlite
public static bool PersonExistsInPS(int personID)
{
- dbcmd.CommandText = "SELECT * FROM " + Constants.PersonSessionOldTable +
+ dbcmd.CommandText = "SELECT * FROM " + Constants.PersonSessionOldWeightTable +
" WHERE personID == " + personID;
//Log.WriteLine(dbcmd.CommandText.ToString());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]