diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-09-16 09:55:08 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-09-16 09:55:08 +0000 |
commit | a46e2144ff1e8481f0410cd3afe236c3cdfd7d29 (patch) | |
tree | 369fe9190d0f108872f5bdbce7cf2ad4f9f189d7 /rpmdrake.pm | |
parent | c744d374c7cedac301804da70bea655764702bb2 (diff) | |
download | rpmdrake-a46e2144ff1e8481f0410cd3afe236c3cdfd7d29.tar rpmdrake-a46e2144ff1e8481f0410cd3afe236c3cdfd7d29.tar.gz rpmdrake-a46e2144ff1e8481f0410cd3afe236c3cdfd7d29.tar.bz2 rpmdrake-a46e2144ff1e8481f0410cd3afe236c3cdfd7d29.tar.xz rpmdrake-a46e2144ff1e8481f0410cd3afe236c3cdfd7d29.zip |
(choose_mirror) actually use transient option
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index d2da33c3..c74acf6c 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -529,11 +529,13 @@ Please check that your network is currently running. Is it ok to continue?"); delete $options{message}; + my @transient_options = exists $options{transient} ? (transient => $options{transient}) : (); interactive_msg(N("Mirror choice"), $message, yesno => 1, %options) or return ''; my $wait = wait_msg( - $branded + ($branded ? N("Please wait, downloading mirror addresses.") - : N("Please wait, downloading mirror addresses from the Mandriva website.") + : N("Please wait, downloading mirror addresses from the Mandriva website.")), + @transient_options ); my @mirrors = eval { mirrors('/var/cache/urpmi', $options{want_base_distro}) }; remove_wait_msg($wait); @@ -566,7 +568,7 @@ the case when the architecture of your processor is not supported by Mandriva Linux Official Updates.")), %options ), return ''; - my $w = ugtk2->new(N("Mirror choice"), grab => 1); + my $w = ugtk2->new(N("Mirror choice"), grab => 1, @transient_options); $w->{rwindow}->set_position($options{transient} ? 'center_on_parent' : 'center_always'); my $tree_model = Gtk2::TreeStore->new("Glib::String"); my $tree = Gtk2::TreeView->new_with_model($tree_model); |