diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-21 14:23:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-21 14:23:27 +0000 |
commit | 410c0bfe80d2fc5ed370b886cbc9e5cc24d0f668 (patch) | |
tree | 8a89ca727e2d33b22afb2cd1eabebdb31a95f543 | |
parent | 66cbb0c718faeded8d73598e4bccc517e1859552 (diff) | |
download | rpmdrake-410c0bfe80d2fc5ed370b886cbc9e5cc24d0f668.tar rpmdrake-410c0bfe80d2fc5ed370b886cbc9e5cc24d0f668.tar.gz rpmdrake-410c0bfe80d2fc5ed370b886cbc9e5cc24d0f668.tar.bz2 rpmdrake-410c0bfe80d2fc5ed370b886cbc9e5cc24d0f668.tar.xz rpmdrake-410c0bfe80d2fc5ed370b886cbc9e5cc24d0f668.zip |
(open_help) fix calling help
-rwxr-xr-x | rpmdrake | 2 | ||||
-rw-r--r-- | rpmdrake.pm | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -468,7 +468,7 @@ sub run_treeview_dialog { ), [ N("/_Help"), undef, undef, undef, '<Branch>' ], [ N("/_Help") . N("/_Report Bug"), undef, sub { run_program::raw({ detach => 1 }, 'drakbug', '--report', 'rpmdrake') }, undef, '<Item>' ], - [ N("/_Help") . N("/_Help"), undef, sub { rpmdrake::open_help($MODE) }, undef, '<Item>' ], + [ N("/_Help") . N("/_Help"), undef, sub { rpmdrake::open_help('') }, undef, '<Item>' ], [ N("/_Help") . N("/_About..."), undef, sub { my $license = formatAlaTeX(translate($::license)); $license =~ s/\n/\n\n/sg; # nicer formatting diff --git a/rpmdrake.pm b/rpmdrake.pm index 19b6364a..53c2bca6 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -887,7 +887,7 @@ sub add_distrib_update_media { sub open_help { my ($mode) = @_; use run_program; - run_program::raw({ detach => 1 }, 'drakhelp', '--id', "software-management-$mode"); + run_program::raw({ detach => 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); } |