diff options
author | Tiago Salem Herrmann <salem@mandriva.com.br> | 2008-05-28 17:20:44 +0000 |
---|---|---|
committer | Tiago Salem Herrmann <salem@mandriva.com.br> | 2008-05-28 17:20:44 +0000 |
commit | 53e61954ec46eff14a335a9b96e79948aba1d928 (patch) | |
tree | d743e7e750c28145e7d6d022d34253021fb61ba3 | |
parent | 90f4f9ab93f4ad4e4866ac0cfe2027d81886a079 (diff) | |
download | control-center-53e61954ec46eff14a335a9b96e79948aba1d928.tar control-center-53e61954ec46eff14a335a9b96e79948aba1d928.tar.gz control-center-53e61954ec46eff14a335a9b96e79948aba1d928.tar.bz2 control-center-53e61954ec46eff14a335a9b96e79948aba1d928.tar.xz control-center-53e61954ec46eff14a335a9b96e79948aba1d928.zip |
- do open bug in running firefox drakbug (#31109)
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | control-center | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,3 +1,5 @@ +- do open bug in running firefox drakbug (#31109) + Version 10.18.5.1 - 23 May 2008, Thierry Vignaud - solve hard to reproduce perl segfault (#34505) diff --git a/control-center b/control-center index 2f16523f..8147b8a7 100755 --- a/control-center +++ b/control-center @@ -1298,7 +1298,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>' ] ); @@ -1306,7 +1306,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, setuid => getpwuid(get_parent_uid()) }, '/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); |