Fixed About Dialog
This commit is contained in:
parent
35c1a754f3
commit
e56ec19421
@ -712,8 +712,7 @@ class Controller(object):
|
||||
commonMessages.no_update_available()
|
||||
|
||||
def on_about(self, *args, **kwargs):
|
||||
channel = self.session.settings["general"]["update_channel"]
|
||||
self.window.about_dialog(channel)
|
||||
self.window.about_dialog()
|
||||
|
||||
def search_audios(self, *args, **kwargs):
|
||||
dlg = searchDialogs.searchAudioDialog()
|
||||
|
@ -137,11 +137,8 @@ class mainWindow(wx.Frame):
|
||||
def advance_selection(self, forward):
|
||||
self.tb.AdvanceSelection(forward)
|
||||
|
||||
def about_dialog(self, channel="stable", *args, **kwargs):
|
||||
if channel == "stable":
|
||||
version = _("{version} (stable)").format(version=application.version)
|
||||
else:
|
||||
version = _("{version} (alpha)").format(version=application.update_next_version)
|
||||
def about_dialog(self, *args, **kwargs):
|
||||
version = application.version
|
||||
info = wx.adv.AboutDialogInfo()
|
||||
info.SetName(application.name)
|
||||
info.SetVersion(version)
|
||||
|
Loading…
Reference in New Issue
Block a user