diff --git a/src/application.py b/src/application.py index ea70ba2..ad8bb46 100644 --- a/src/application.py +++ b/src/application.py @@ -4,7 +4,7 @@ version = "0.1" author = "Manuel Cortéz" authorEmail = "manuel@manuelcortez.net" copyright = "Copyright (C) 2018, Manuel Cortez" -description = name+" Is an application that will allow you to download music." +description = name+" Is an application that will allow you to download music from popular sites such as youtube, zaycev.net." url = "https://manuelcortez.net/music_dl" #update_url = "https://raw.githubusercontent.com/manuelcortez/socializer/master/update-files/socializer.json" # The short name will be used for detecting translation files. See languageHandler for more details. diff --git a/src/controller/mainController.py b/src/controller/mainController.py index 932e12f..c6192e1 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -59,6 +59,7 @@ class Controller(object): widgetUtils.connect_event(self.window, widgetUtils.MENU, self.on_volume_up, menuitem=self.window.player_volume_up) widgetUtils.connect_event(self.window, widgetUtils.MENU, self.on_mute, menuitem=self.window.player_mute) widgetUtils.connect_event(self.window, widgetUtils.MENU, self.on_shuffle, menuitem=self.window.player_shuffle) + widgetUtils.connect_event(self.window, widgetUtils.MENU, self.window.about_dialog, menuitem=self.window.about) widgetUtils.connect_event(self.window.previous, widgetUtils.BUTTON_PRESSED, self.on_previous) widgetUtils.connect_event(self.window.play, widgetUtils.BUTTON_PRESSED, self.on_play_pause) widgetUtils.connect_event(self.window.stop, widgetUtils.BUTTON_PRESSED, self.on_stop) diff --git a/src/wxUI/mainWindow.py b/src/wxUI/mainWindow.py index 47af5c1..1f830cd 100644 --- a/src/wxUI/mainWindow.py +++ b/src/wxUI/mainWindow.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- import wx +import wx.adv import application import widgetUtils @@ -74,15 +75,15 @@ class mainWindow(wx.Frame): self.sb.SetStatusText(status) def about_dialog(self, *args, **kwargs): - info = wx.AboutDialogInfo() + info = wx.adv.AboutDialogInfo() info.SetName(application.name) info.SetVersion(application.version) info.SetDescription(application.description) info.SetCopyright(application.copyright) - info.SetTranslators(application.translators) +# info.SetTranslators(application.translators) # info.SetLicence(application.licence) info.AddDeveloper(application.author) - wx.AboutBox(info) + wx.adv.AboutBox(info) def get_text(self): t = self.text.GetValue()