aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/gui.pm2
-rw-r--r--rpmdrake.pm2
3 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 414e93f0..53e4e8df 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- try harder to display help, bug wizards, ... as user
+
Version 5.21 - 9 October 2009, Thierry Vignaud
- edit-urpm-sources:
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 79639485..b69354c9 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -964,7 +964,7 @@ sub sort_callback {
sub run_help_callback {
my (undef, $url) = @_;
- run_as_user('www-browser', $url);
+ run_program::raw({ detach => 1, as_user => 1 }, 'www-browser', $url);
}
1;
diff --git a/rpmdrake.pm b/rpmdrake.pm
index dd4a30a7..419d773a 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -971,7 +971,7 @@ sub open_help {
sub run_drakbug {
my ($id) = @_;
- run_as_user('drakbug', '--report', $id);
+ run_program::raw({ detach => 1, as_user => 1 }, 'drakbug', '--report', $id);
}
mygtk2::add_icon_path('/usr/share/mcc/themes/default/');