aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-22 11:27:58 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-22 11:27:58 +0000
commit1c7182ed0d20abcd0e59772b12af76a0756bc364 (patch)
tree6b25e75d94568f9201ec7a1d0ba84191815a2ce0
parent86fc0abab098c920b923fa439035bef6fde09a2d (diff)
downloadrpmdrake-1c7182ed0d20abcd0e59772b12af76a0756bc364.tar
rpmdrake-1c7182ed0d20abcd0e59772b12af76a0756bc364.tar.gz
rpmdrake-1c7182ed0d20abcd0e59772b12af76a0756bc364.tar.bz2
rpmdrake-1c7182ed0d20abcd0e59772b12af76a0756bc364.tar.xz
rpmdrake-1c7182ed0d20abcd0e59772b12af76a0756bc364.zip
(run_treeview_dialog) reuse Rpmdrake::edit_urpm_sources instead of forking
edit-urpm-sources.pl in background
-rwxr-xr-xrpmdrake3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 39aad2b6..cdbe50d6 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -400,7 +400,8 @@ sub run_treeview_dialog {
if_(!$>,
[ N("/_Options"), undef, undef, undef, '<Branch>' ],
[ N("/_Options") . N("/_Media Manager"), undef, sub {
- run_program::raw({ detach => 1 }, 'edit-urpm-sources.pl');
+ require Rpmdrake::edit_urpm_sources;
+ Rpmdrake::edit_urpm_sources::run();
}, undef, '<Item>' ],
[ N("/_Options") . N("/_Show automatically selected packages"), undef, sub {
$dont_show_selections = !$checkbox_show_autoselect->get_active;