summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkapplet6
1 files changed, 6 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index bfb45927..3436921b 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -27,6 +27,7 @@ use lib qw(/usr/lib/libDrakX);
use standalone; # for explanations
use interactive;
use common;
+use run_program;
use Gtk2::Pango;
@@ -473,6 +474,11 @@ sub setState {
my $w = gtkset_name(Gtk2::AboutDialog->new, N("Mandriva Online %s"), $ver);
$w->set_version($ver);
$w->set_copyright(N("Copyright (C) %s by Mandriva", '2001-2006'));
+ $w->set_url_hook(sub {
+ my (undef, $url) = @_;
+ run_program::raw({ detach => 1 }, 'www-browser', $url);
+ });
+
my $url = $online_site;
$url =~ s/^https:/http:/;
$w->set_website($url);