From 852cef44ff1b2bd57c7341b329f7fa86fa9aee6b Mon Sep 17 00:00:00 2001 From: heliguy Date: Wed, 27 Mar 2024 00:26:29 -0400 Subject: [PATCH] Use the new AboudDialog --- src/main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.py b/src/main.py index b27064c..5d03e1a 100644 --- a/src/main.py +++ b/src/main.py @@ -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 ", ], ) - about.present() + about.present(self.props.active_window) def on_preferences_action(self, widget, _): """Callback for the app.preferences action."""