Added website and check for updates in menu bar

This commit is contained in:
2018-02-26 10:06:48 -06:00
parent 0a2307d56f
commit 68f73501ed
2 changed files with 12 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ class mainWindow(wx.Frame):
help_ = wx.Menu()
self.about = help_.Append(wx.NewId(), _(u"About {0}").format(application.name,))
self.check_for_updates = help_.Append(wx.NewId(), _(u"Check for updates"))
self.website = help_.Append(wx.NewId(), _("Visit website"))
mb.Append(player, _(u"Player"))
mb.Append(help_, _(u"Help"))
self.SetMenuBar(mb)
@@ -80,6 +81,7 @@ class mainWindow(wx.Frame):
info.SetVersion(application.version)
info.SetDescription(application.description)
info.SetCopyright(application.copyright)
info.SetWebSite(application.url)
# info.SetTranslators(application.translators)
# info.SetLicence(application.licence)
info.AddDeveloper(application.author)