diff options
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r-- | Rpmdrake/gui.pm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index b4bb39ba..a38bca65 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -133,7 +133,6 @@ sub build_expander { sub get_advisory_link { my ($update_descr) = @_; my $link = gtkshow(Gtk3::LinkButton->new($update_descr->{URL}, N("Security advisory"))); - $link->set_uri_hook(\&run_help_callback); [ $link ]; } @@ -264,7 +263,6 @@ sub get_url_link { my @a = (@{ ugtk3::markup_to_TextView_format(format_field("\n$spacing" . N("URL: "))) }, [ my $link = gtkshow(Gtk3::LinkButton->new($url, $url)) ]); - $link->set_uri_hook(\&run_help_callback); @a; } @@ -1054,11 +1052,4 @@ sub sort_callback { URPM::rpmvercmp(map { $store->get_value($_, $pkg_columns{version}) } $treeiter1, $treeiter2); } -sub run_help_callback { - my (undef, $url) = @_; - my ($user) = grep { $_->[2] eq $ENV{USERHELPER_UID} } list_passwd(); - local $ENV{HOME} = $user->[7] if $user && $ENV{USERHELPER_UID}; - run_program::raw({ detach => 1, as_user => 1 }, 'www-browser', $url); -} - 1; |