diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-21 14:23:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-21 14:23:51 +0000 |
commit | 71a2500da21d506c0ba8eb0c25ec90f495b1d658 (patch) | |
tree | 7bcc0e31ebdc508372a5b9180c40f82f540f3a85 | |
parent | f4eb6cbfd9a0ec0931efd11eecceaa0ba87eb58b (diff) | |
download | rpmdrake-71a2500da21d506c0ba8eb0c25ec90f495b1d658.tar rpmdrake-71a2500da21d506c0ba8eb0c25ec90f495b1d658.tar.gz rpmdrake-71a2500da21d506c0ba8eb0c25ec90f495b1d658.tar.bz2 rpmdrake-71a2500da21d506c0ba8eb0c25ec90f495b1d658.tar.xz rpmdrake-71a2500da21d506c0ba8eb0c25ec90f495b1d658.zip |
(open_help) fix calling help
-rwxr-xr-x | rpmdrake | 2 | ||||
-rw-r--r-- | rpmdrake.pm | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -420,7 +420,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 c2809932..ca1143c3 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -879,7 +879,7 @@ It will be disabled.", 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); } |