aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-13 22:27:13 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-13 22:27:13 +0000
commit02b7a6b587bb5a68ec24be6db47f3a029748d3ff (patch)
tree0135fc941de4cf8b003632ce0bb7d74a8a77f91b
parentf75dd6c3c5feefaa8c571f56434e9aeb622a06e5 (diff)
downloadrpmdrake-02b7a6b587bb5a68ec24be6db47f3a029748d3ff.tar
rpmdrake-02b7a6b587bb5a68ec24be6db47f3a029748d3ff.tar.gz
rpmdrake-02b7a6b587bb5a68ec24be6db47f3a029748d3ff.tar.bz2
rpmdrake-02b7a6b587bb5a68ec24be6db47f3a029748d3ff.tar.xz
rpmdrake-02b7a6b587bb5a68ec24be6db47f3a029748d3ff.zip
(format_pkg_simplifiedinfo) run the regular user browser (#31021)
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 6d72d2c0..3e092543 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -96,7 +96,7 @@ sub format_pkg_simplifiedinfo {
push @$s, [ my $link = gtkshow(Gtk2::LinkButton->new($descriptions->{$name}{URL}, N("Security advisory"))) ];
$link->set_uri_hook(sub {
my (undef, $url) = @_;
- run_program::raw({ detach => 1 }, 'www-browser', $url);
+ run_program::raw({ detach => 1, setuid => get_parent_uid() }, 'www-browser', $url);
});
}