Probably best to generalize. Changed user guide to wiki.
This commit is contained in:
@@ -330,8 +330,8 @@ class MainFrame(wx.Frame):
|
||||
dlg.ShowModal()
|
||||
dlg.Destroy()
|
||||
|
||||
def goUserGuide(self, event):
|
||||
wx.LaunchDefaultBrowser('https://github.com/DarkFenX/Pyfa/wiki/User-Guide')
|
||||
def goWiki(self, event):
|
||||
wx.LaunchDefaultBrowser('https://github.com/DarkFenX/Pyfa/wiki')
|
||||
|
||||
def goForums(self, event):
|
||||
wx.LaunchDefaultBrowser('https://forums.eveonline.com/default.aspx?g=posts&t=247609')
|
||||
@@ -364,7 +364,7 @@ class MainFrame(wx.Frame):
|
||||
# Preference dialog
|
||||
self.Bind(wx.EVT_MENU, self.showPreferenceDialog, id = menuBar.preferencesId)
|
||||
# User guide
|
||||
self.Bind(wx.EVT_MENU, self.goUserGuide, id = menuBar.userGuideId)
|
||||
self.Bind(wx.EVT_MENU, self.goWiki, id = menuBar.wikiId)
|
||||
# EVE Forums
|
||||
self.Bind(wx.EVT_MENU, self.goForums, id = menuBar.forumId)
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ class MainMenuBar(wx.MenuBar):
|
||||
self.exportSkillsNeededId = wx.NewId()
|
||||
self.importCharacterId = wx.NewId()
|
||||
self.preferencesId = wx.NewId()
|
||||
self.userGuideId = wx.NewId()
|
||||
self.wikiId = wx.NewId()
|
||||
self.forumId = wx.NewId()
|
||||
|
||||
self.mainFrame = gui.mainFrame.MainFrame.getInstance()
|
||||
@@ -98,7 +98,7 @@ class MainMenuBar(wx.MenuBar):
|
||||
# Help menu
|
||||
helpMenu = wx.Menu()
|
||||
self.Append(helpMenu, "&Help")
|
||||
helpMenu.Append(self.userGuideId, "User Guide", "Go to User Guide on GitHub")
|
||||
helpMenu.Append(self.wikiId, "Wiki", "Go to wiki on GitHub")
|
||||
helpMenu.Append(self.forumId, "Forums", "Go to EVE Online Forum thread")
|
||||
helpMenu.AppendSeparator()
|
||||
helpMenu.Append(wx.ID_ABOUT)
|
||||
|
||||
Reference in New Issue
Block a user