Fixing error about.

This commit is contained in:
Sergiotarxz 2024-03-02 17:02:40 +01:00
parent 72ac74c0c2
commit 5b61dba829
1 changed files with 5 additions and 2 deletions

View File

@ -222,8 +222,11 @@ sub activate_about {
$about->set_license_type('gpl-3-0');
$about->add_credit_section( 'Ideas:', ['SpectreSpecs'] );
$about->set_authors( ['Sergio Iglesias'] );
my $texture = Gdk::Texture->new_from_filename(path(__FILE__)->parent->parent->child('resources/icons/hicolor/scalable/apps/gemetool.svg'));
$about->set_logo($texture);
my $error;
my $texture = Gdk::Texture->new_from_filename(path(__FILE__)->parent->parent->child('resources/icons/hicolor/scalable/apps/gemetool.svg'), \$error);
if (!$error && defined $texture) {
$about->set_logo($texture);
}
$about->set_website('https://git.owlcode.tech/sergiotarxz/GEmeTool');
$about->set_website_label('https://git.owlcode.tech/sergiotarxz/GEmeTool');