[longomatch] Disable Drawing tool on Windows
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [longomatch] Disable Drawing tool on Windows
- Date: Thu, 17 Sep 2009 17:50:27 +0000 (UTC)
commit fc91666754295caa177c75a029c1e0df3c368413
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Sep 16 19:58:43 2009 +0200
Disable Drawing tool on Windows
LongoMatch/Gui/MainWindow.cs | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch/Gui/MainWindow.cs b/LongoMatch/Gui/MainWindow.cs
index 5640fec..ee7b1d4 100644
--- a/LongoMatch/Gui/MainWindow.cs
+++ b/LongoMatch/Gui/MainWindow.cs
@@ -60,6 +60,11 @@ namespace LongoMatch.Gui
updater.NewVersion += new LongoMatch.Handlers.NewVersionHandler(OnUpdate);
updater.Run();*/
+ if (Environment.OSVersion.Platform == PlatformID.Win32NT){
+ DrawingToolAction.Visible = false;
+ DrawingToolAction.DisconnectAccelerator();
+ }
+
eManager = new EventsManager(treewidget1,
localplayerslisttreewidget,
visitorplayerslisttreewidget,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]