diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-28 11:29:02 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-28 11:29:02 +0000 |
commit | a1dc9d97fcea2f922cc11eb1b77f712cb0841e22 (patch) | |
tree | 3a9a25b28f9e372a7a944150a1da7e90c588d4d2 | |
parent | bb4bc8248169a777b41d94ae1604456770979fc4 (diff) | |
download | control-center-a1dc9d97fcea2f922cc11eb1b77f712cb0841e22.tar control-center-a1dc9d97fcea2f922cc11eb1b77f712cb0841e22.tar.gz control-center-a1dc9d97fcea2f922cc11eb1b77f712cb0841e22.tar.bz2 control-center-a1dc9d97fcea2f922cc11eb1b77f712cb0841e22.tar.xz control-center-a1dc9d97fcea2f922cc11eb1b77f712cb0841e22.zip |
fix reporting bug on drakwizard
-rwxr-xr-x | control-center | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/control-center b/control-center index 5ce9cf9b..fc5a0727 100755 --- a/control-center +++ b/control-center @@ -1269,7 +1269,9 @@ my @menu_items = ( run_program::raw({ detach => 1 }, '/usr/bin/www-browser', "http://wiki.mandriva.com/en/Releases/Mandriva/$release->{version}/Errata"); }, undef, '<Item>', N("Help") ], - [ N("/_Help") . N("/_Report Bug"), undef, sub { run_program::raw({ detach => 1 }, 'drakbug', '--report', $pending_app || 'drakconf') }, undef, '<Item>' ], + [ N("/_Help") . N("/_Report Bug"), undef, sub { + run_program::raw({ detach => 1 }, 'drakbug', '--report', (split(/\s/, $pending_app))[0] || 'drakconf'); + }, undef, '<Item>' ], [ N("/_Help") . N("/_About..."), undef, \&about_mdk_cc, undef, '<Item>' ] ); |