Check for updates now works from the menu bar too

This commit is contained in:
2015-02-26 10:26:46 -06:00
parent b7193d16ee
commit 3a9a49d64c
4 changed files with 13 additions and 7 deletions

View File

@@ -76,7 +76,6 @@ class mainFrame(wx.Frame):
self.changelog = help.Append(wx.NewId(), _(u"&What's new in this version?"))
self.changelog.Enable(False)
self.check_for_updates = help.Append(wx.NewId(), _(u"&Check for updates"))
self.check_for_updates.Enable(False)
self.reportError = help.Append(wx.NewId(), _(u"&Report an error"))
self.reportError.Enable(False)
self.visit_website = help.Append(-1, _(u"TW Blue &website"))
@@ -172,4 +171,7 @@ class mainFrame(wx.Frame):
wx.MessageDialog(self, address, _(u"Address"), wx.OK).ShowModal()
def delete_buffer(self, pos):
self.nb.DeletePage(pos)
self.nb.DeletePage(pos)
def no_update_available():
wx.MessageDialog(None, _(u"Your TW Blue version is up to date"), _(u"Update"), style=wx.OK).ShowModal()