[chronojump] query win checks CanI on server
- From: Xavier de Blas <xaviblas src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [chronojump] query win checks CanI on server
- Date: Sat, 22 Aug 2009 01:50:40 +0000 (UTC)
commit 2f0ba54cda0aea154ef15d1864cf1b952172576e
Author: Xavier de Blas <xaviblas gmail com>
Date: Sat Aug 22 03:50:16 2009 +0200
query win checks CanI on server
src/gui/chronojump.cs | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index e39f34a..bea07be 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -1013,19 +1013,10 @@ public class ChronoJumpWindow
}
private void on_menuitem_server_query_activate (object o, EventArgs args) {
- queryServerWin = QueryServerWindow.Show();
- /*
string versionAvailable = Server.Ping(false, "", ""); //false: don't do insertion
if(versionAvailable != Constants.ServerOffline) { //false: don't do insertion
if(Server.CanI(Constants.ServerActionQuery, Util.VersionToDouble(progVersion))) {
- ChronojumpServer myServer = new ChronojumpServer();
- Log.WriteLine(myServer.ConnectDatabase());
-
- //string [] statsServer = myServer.Query();
-
- Log.WriteLine(myServer.DisConnectDatabase());
-
- //new DialogMessage();
+ queryServerWin = QueryServerWindow.Show();
} else {
new DialogMessage(Constants.MessageTypes.WARNING,
Catalog.GetString("Your version of Chronojump is too old for this.") + "\n\n" +
@@ -1034,7 +1025,6 @@ public class ChronoJumpWindow
} else {
new DialogMessage(Constants.MessageTypes.WARNING, Constants.ServerOffline);
}
- */
}
private void on_menuitem_server_ping (object o, EventArgs args) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]