aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrpmdrake2
-rw-r--r--rpmdrake.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index d8811ae1..c7bcfdb9 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -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);
}