Skip to content
Snippets Groups Projects
Verified Commit 149ab190 authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Use AdwAboutDialog

parent 8ed133cb
No related branches found
No related tags found
No related merge requests found
Pipeline #4432 passed
......@@ -33,16 +33,15 @@ class Application(Adw.Application):
self.set_accels_for_action("win.set-timer", ("<Ctrl>t", ))
def _on_about(self, action: Gio.SimpleAction, param: None) -> None:
about = Adw.AboutWindow(
about = Adw.AboutDialog(
application_icon="timer",
application_name="Countdown",
copyright="Copyright 2016–2022 Bruce Cowan",
copyright="Copyright 2016–2024 Bruce Cowan",
developer_name="Bruce Cowan",
license_type=Gtk.License.LGPL_3_0,
transient_for=self.props.active_window,
version=config.VERSION,
)
about.present()
about.present(self.props.active_window)
def main():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment