--- /usr/sbin/draksnapshot-applet 2022-09-24 10:10:47.780945530 +0200 +++ /usr/sbin/draksnapshot-applet.new 2022-09-24 10:32:07.001199191 +0200 @@ -250,25 +250,25 @@ $menu->append(gtkshow(Gtk3::SeparatorMenuItem->new)); $menu->append( gtksignal_connect( - gtkshow(Gtk3::MenuItem->new_with_label(N("About..."))), + gtkshow(Gtk3::MenuItem->new_with_label(N("About..."))), activate => sub { my $ver = '0.20.3-18.mga7'; # automatically set from spec file - my $w = gtknew('AboutDialog', name => N("DrakSnapshot %s", $ver), - copyright => N("Copyright (C) %s by Mandriva", '2008'), - license => join('', cat_('/usr/share/common-licenses/GPL')), - icon => '/usr/share/icons/mini/draksnapshot.png', - comments => N("DrakSnapshot enables to backup your machine through periodic snapshots."), - website => 'http://www.mandriva.com', - website_label => N("Mandriva WebSite"), - authors => 'Thierry Vignaud ', - translator_credits => - #-PO: put here name(s) and email(s) of translator(s) (eg: "John Smith ") - N("_: Translator(s) name(s) & email(s)\n"), - transient_for => $::main_window, modal => 1, position_policy => 'center-on-parent', - ); - + my $w=Gtk3::AboutDialog->new(N("DrakSnapshot %s").$ver); + my $myabout_diag; + $w->set_copyright(N("Copyright (C) %s by Mandriva \n Copyright (C) %s by Mageia" , '2008','2022')); + $w->set_license(join('', cat_('/usr/share/common-licenses/GPL'))); + $w->set_logo_icon_name('/usr/share/icons/mini/draksnapshot.png'); + $w->set_comments(N("DrakSnapshot enables to backup your machine through periodic snapshots.")); + $w->set_website('http://www.mageia.org'); + $w->set_website_label(N("Mageia WebSite")); + $w->set_authors(['Thierry Vignaud ']); + #$w->set_translators_credits([N("_: Translator(s) name(s) \& email(s)\n")]); $w->show_all; - $w->run; + $myabout_diag=$w->run; + if ($myabout_diag == "GTK_RESPONSE_CLOSE" ) + { + $w->destroy; + } return 1; }));