Use the new AboudDialog

This commit is contained in:
heliguy
2024-03-27 00:26:29 -04:00
parent dc5b951284
commit 852cef44ff

View File

@@ -167,8 +167,7 @@ class WarehouseApplication(Adw.Application):
def on_about_action(self, widget, _a):
"""Callback for the app.about action."""
about = Adw.AboutWindow(
transient_for=self.props.active_window,
about = Adw.AboutDialog(
application_name="Warehouse",
application_icon="io.github.flattool.Warehouse",
developer_name="Heliguy",
@@ -204,7 +203,7 @@ class WarehouseApplication(Adw.Application):
"skøldis <warehouse@turtle.garden>",
],
)
about.present()
about.present(self.props.active_window)
def on_preferences_action(self, widget, _):
"""Callback for the app.preferences action."""