#!/usr/bin/python3
#--------------------#
# AboutDialog dialog #
#--------------------#
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk,GdkPixbuf

class AboutDialog(Gtk.AboutDialog):
    def __init__(self):
        logo = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/simplestream/menu/icons/logo.png", 64, 64)

        Gtk.AboutDialog.__init__(self)
        self.set_version("Version 3.1")
        self.set_comments("Simple player for LIVE FM radio streams")
        self.set_website("http://www.pclinuxos.com/")
        self.set_authors(["Ken Dotson\nCopyright © 2024 WTFPL"])
        self.set_logo(logo)
        self.connect("response", self.on_response)

    def on_response(self, dialog, response):
        self.destroy()

aboutdialog = AboutDialog()
aboutdialog.run()






