diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-10-12 17:19:00 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-10-12 17:19:00 +0000 |
commit | ef4c10366067de6288547fa6486fde2cb132033f (patch) | |
tree | 425e04d521f3005c3c929aa096e75d2dc8af07b4 /rpmdrake.pm | |
parent | 597b467c61498c0af85a1145f7897f14b4b38c5c (diff) | |
download | rpmdrake-ef4c10366067de6288547fa6486fde2cb132033f.tar rpmdrake-ef4c10366067de6288547fa6486fde2cb132033f.tar.gz rpmdrake-ef4c10366067de6288547fa6486fde2cb132033f.tar.bz2 rpmdrake-ef4c10366067de6288547fa6486fde2cb132033f.tar.xz rpmdrake-ef4c10366067de6288547fa6486fde2cb132033f.zip |
(open_help) try harder to display help as user
(run_program::raw() now tries to keep the X11 cookie)
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 7c78900a..71595295 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -953,8 +953,7 @@ sub add_distrib_update_media { sub open_help { my ($mode) = @_; use run_program; - # FIXME: run_as_user() doesn't work for drakhelp: - run_program::raw({ detach => 1 }, 'drakhelp', '--id', $mode ? "software-management-$mode" : 'software-management'); + run_program::raw({ detach => 1, as_user => 1 }, 'drakhelp', '--id', $mode ? "software-management-$mode" : 'software-management'); N("Help launched in background"); statusbar_msg(N("The help window has been started, it should appear shortly on your desktop."), 1); } |