From 0d696881af7d5b89b9750a11f460931336844d1b Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Sat, 31 Aug 2013 20:19:49 +0400 Subject: [PATCH] Make link platform-specific It didn't work on windows in current state --- gui/mainFrame.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gui/mainFrame.py b/gui/mainFrame.py index 734d1e764..234537c91 100644 --- a/gui/mainFrame.py +++ b/gui/mainFrame.py @@ -245,7 +245,11 @@ class MainFrame(wx.Frame): "\nwxPython: \t" + wx.__version__ + "\nSQLAlchemy: \t" + sqlalchemy.__version__, 700, wx.ClientDC(self)) - info.WebSite = ("http://forums.eveonline.com/default.aspx?g=posts&t=247609", "pyfa thread at EVE Online forum") + if "__WXGTK__" in wx.PlatformInfo: + forumUrl = "http://forums.eveonline.com/default.aspx?g=posts&t=247609" + else: + forumUrl = "http://forums.eveonline.com/default.aspx?g=posts&t=247609" + info.WebSite = (forumUrl, "pyfa thread at EVE Online forum") wx.AboutBox(info)