Adding more data to the about screen.

This commit is contained in:
sergiotarxz 2024-03-02 08:22:01 +01:00
parent 4fb8f404c6
commit dc03c730a1
1 changed files with 10 additions and 5 deletions

View File

@ -179,10 +179,15 @@ sub start_editing_file {
sub activate_about {
my $about = Gtk4::AboutDialog->new;
$about->set_program_name('GEmeTool');
$about->set_copyright( "©Sergio Iglesias 2024\n" . "GPLv3 or later" );
my $header_bar = Gtk4::HeaderBar->new;
$header_bar->set_property(
'title-widget' => Gtk4::Label->new('About GEmeTool') );
$about->set_titlebar($header_bar);
$about->set_copyright( "© Sergio Iglesias (2024)");
$about->set_license_type('gpl-3-0');
$about->add_credit_section('Ideas:', ['SpectreSpecs']);
$about->set_authors(['Sergio Iglesias']);
$about->set_website('https://git.owlcode.tech/sergiotarxz/GEmeTool');
$about->set_website_label('https://git.owlcode.tech/sergiotarxz/GEmeTool');
# my $header_bar = Gtk4::HeaderBar->new;
# $header_bar->set_property(
# 'title-widget' => Gtk4::Label->new('About GEmeTool') );
# $about->set_titlebar($header_bar);
$about->present;
}