Skip to content

Commit

Permalink
Switch to Adw.AboutDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
k8ieone committed Jan 15, 2025
1 parent e9f9ca6 commit ecb0c4e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,13 @@ def do_activate(self):

def on_about_action(self, widget, _):
"""Callback for the app.about action."""
about = Adw.AboutWindow(transient_for=self.props.active_window,
application_name='Identities',
about = Adw.AboutDialog(application_name='Identities',
application_icon='one.k8ie.Identities',
developer_name='Kate',
version='0.1.0',
developers=['Kate'],
copyright='© 2025 Kate')
about.present()
about.present(parent=self.props.active_window)

def on_preferences_action(self, widget, _):
"""Callback for the app.preferences action."""
Expand Down

0 comments on commit ecb0c4e

Please sign in to comment.