From e5148216605e9b15a61a8a24b9abecc35ee66f56 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 1 Oct 2008 13:55:03 +0000 Subject: perl_checker fixes --- Rpmdrake/edit_urpm_sources.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm index 083b7210..6e382bf5 100644 --- a/Rpmdrake/edit_urpm_sources.pm +++ b/Rpmdrake/edit_urpm_sources.pm @@ -120,7 +120,7 @@ discs. Please choose whether to configure update sources only, or the full set of sources."), transient => $::main_window, yesno => 1, text => { yes => N("Full set of sources"), no => N("Update sources only") }, - ) : 1 + ) : 1; } sub easy_add_callback_with_mirror() { @@ -154,7 +154,7 @@ sub easy_add_callback() { #- cooker and community don't have update sources my $want_base_distro = _want_base_distro(); - warn_for_network_need() or return; + warn_for_network_need(undef, transient => $::main_window) or return; my $wait = wait_msg(N("Please wait, adding media...")); add_distrib_update_media($urpm, undef, if_(!$want_base_distro, only_updates => 1)); $offered_to_add_sources->[0] = 1; -- cgit v1.2.1