Skip to content

Commit

Permalink
About window
Browse files Browse the repository at this point in the history
  • Loading branch information
Ketok4321 committed Aug 21, 2023
1 parent 5eb56e2 commit 555c96a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,19 @@ def fetch_servers(self):
print(e)
GLib.idle_add(self.win.set_view, self.win.offline_view)

def on_about_action(self, widget, _): #TODO: Credit librespeed
def on_about_action(self, widget, _):
about = Adw.AboutWindow(transient_for=self.props.active_window,
application_name="Speedtest",
application_icon="xyz.ketok.Speedtest",
developer_name="Ketok",
version="0.1.0",
issue_url="https:/Ketok4321/speedtest/issues",
developers=["Ketok"],
copyright="© 2023 Ketok")
copyright="© 2023 Ketok",
license_type=Gtk.License.GPL_3_0)

about.add_credit_section("Backend by", ["Librespeed"])

about.present()

def on_start_action(self, widget, _):
Expand Down

0 comments on commit 555c96a

Please sign in to comment.