fix about and port it to Adw.AboutDialog

parent 7f7fdc33
......@@ -49,16 +49,16 @@ class EepmPlayGuiApplication(Adw.Application):
def on_about_action(self, widget, _):
"""Callback for the app.about action."""
about = Adw.AboutWindow(transient_for=self.props.active_window,
application_name='eepm-play-gui',
about = Adw.AboutDialog(application_name='eepm-play-gui',
application_icon='ru.eepm.PlayGUI',
developer_name='Etersoft',
version='0.2.0',
developers=['Ximper', "Vladimir Vaskov <rirusha@altlinux.org>"],
artists=['Ximper', "Vladimir Vaskov <rirusha@altlinux.org>"],
designers=['Ximper', "Vladimir Vaskov <rirusha@altlinux.org>"],
artists=['Ximper'],
license_type=Gtk.License.AGPL_3_0,
copyright='© 2024 Etersoft')
about.present()
about.present(self.props.active_window)
def create_action(self, name, callback, shortcuts=None):
"""Add an application action.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment