aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-10-12 17:17:49 +0000
committerThierry Vignaud <tv@mandriva.org>2009-10-12 17:17:49 +0000
commitdb87f64ed765e41155a75416c876cb86dcf49f85 (patch)
tree2c1f25ad298d03f45e2a4deb97a1d7212ad86731
parent4564a109aa437cde884357ff6e00886b05e3c50b (diff)
downloadrpmdrake-db87f64ed765e41155a75416c876cb86dcf49f85.tar
rpmdrake-db87f64ed765e41155a75416c876cb86dcf49f85.tar.gz
rpmdrake-db87f64ed765e41155a75416c876cb86dcf49f85.tar.bz2
rpmdrake-db87f64ed765e41155a75416c876cb86dcf49f85.tar.xz
rpmdrake-db87f64ed765e41155a75416c876cb86dcf49f85.zip
(run_drakbug,run_help_callback) try harder to display help, bug wizards, ... as user
-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/');