summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-22 10:28:09 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-22 10:28:09 +0000
commit12806c65fa7707c980b0726c65dc2047e65edb7a (patch)
treef7174ef7908e7258244bcd9f7af7c1eeeaccb563
parentc1c3284df6d9a7c9c8c1f2267955198895f5a563 (diff)
downloadcontrol-center-12806c65fa7707c980b0726c65dc2047e65edb7a.tar
control-center-12806c65fa7707c980b0726c65dc2047e65edb7a.tar.gz
control-center-12806c65fa7707c980b0726c65dc2047e65edb7a.tar.bz2
control-center-12806c65fa7707c980b0726c65dc2047e65edb7a.tar.xz
control-center-12806c65fa7707c980b0726c65dc2047e65edb7a.zip
offer report a bug on embedded tool instead of drakconf in menu
-rwxr-xr-xcontrol-center4
1 files changed, 2 insertions, 2 deletions
diff --git a/control-center b/control-center
index 0a422d56..8e184a19 100755
--- a/control-center
+++ b/control-center
@@ -1261,7 +1261,7 @@ 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 { fork_("drakbug --report drakconf &") }, undef, '<Item>' ],
+ [ N("/_Help") . N("/_Report Bug"), undef, sub { fork_(join(' ', 'drakbug --report', $pending_app || 'drakconf', '&')) }, undef, '<Item>' ],
[ N("/_Help") . N("/_About..."), undef, \&about_mdk_cc, undef, '<Item>' ]
);
@@ -1741,7 +1741,7 @@ sub run_tool {
create_hidden_socket($icon, $text);
$emb_box->show;
$emb_socket->realize;
- $pending_app = 1;
+ $pending_app = $tool->{binary};
if ($gtkplug > 0) {
$buttons->show;
$exec .= " --embedded " . $emb_socket->get_id;