diff options
author | Tiago Salem Herrmann <salem@mandriva.com.br> | 2008-05-28 17:21:19 +0000 |
---|---|---|
committer | Tiago Salem Herrmann <salem@mandriva.com.br> | 2008-05-28 17:21:19 +0000 |
commit | b2d040517c4fc5108823c595b63e768bbbf60024 (patch) | |
tree | b71bf07cb7344d1ce3b3ea20c884d5987e3e1e68 | |
parent | a914cfb8f0f81695cecf92182be71f5c5f6a5b70 (diff) | |
download | control-center-b2d040517c4fc5108823c595b63e768bbbf60024.tar control-center-b2d040517c4fc5108823c595b63e768bbbf60024.tar.gz control-center-b2d040517c4fc5108823c595b63e768bbbf60024.tar.bz2 control-center-b2d040517c4fc5108823c595b63e768bbbf60024.tar.xz control-center-b2d040517c4fc5108823c595b63e768bbbf60024.zip |
- do open bug in running firefox drakbug (#31109)
-rwxr-xr-x | control-center | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/control-center b/control-center index a5f605ae..cc36c89e 100755 --- a/control-center +++ b/control-center @@ -1265,7 +1265,7 @@ my @menu_items = ( [ N("/_Help") . N("/What's _New?"), undef, sub { run_browser("What's New?") }, undef, '<Item>', N("Help") ], [ N("/_Help") . N("/_Errata"), undef, sub { run_browser('Errata') }, undef, '<Item>', N("Help") ], [ N("/_Help") . N("/_Report Bug"), undef, sub { - run_program::raw({ detach => 1 }, 'drakbug', '--report', (split(/\s/, $pending_app))[0] || 'drakconf'); + run_program::raw({ detach => 1, setuid => get_parent_uid() }, 'drakbug', '--report', (split(/\s/, $pending_app))[0] || 'drakconf'); }, undef, '<Item>' ], [ N("/_Help") . N("/_About..."), undef, \&about_mdk_cc, undef, '<Item>' ] ); @@ -1273,7 +1273,7 @@ my @menu_items = ( sub run_browser { my ($url) = @_; $url = "http://wiki.mandriva.com/en/Releases/Mandriva/$release->{version}/$url" if $url !~ m!^http://!; - run_program::raw({ detach => 1 }, '/usr/bin/www-browser', $url); + run_program::raw({ detach => 1, setuid => get_parent_uid() }, '/usr/bin/www-browser', $url); } my ($menu, $factory) = create_factory_menu($window_global, @menu_items); |