aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-07-20 16:03:32 +0200
committerAngelo Naselli <anaselli@linux.it>2014-07-20 16:03:32 +0200
commit5cf200b2c891c34c89960da93c158f8d79edf1d5 (patch)
treeb2240852d12b86a3c0d682ed025077af1dc2a5c8
parentdd7e93dd86ba0ef53ed917f8c71964eef62ae9ba (diff)
downloadcolin-keep-5cf200b2c891c34c89960da93c158f8d79edf1d5.tar
colin-keep-5cf200b2c891c34c89960da93c158f8d79edf1d5.tar.gz
colin-keep-5cf200b2c891c34c89960da93c158f8d79edf1d5.tar.bz2
colin-keep-5cf200b2c891c34c89960da93c158f8d79edf1d5.tar.xz
colin-keep-5cf200b2c891c34c89960da93c158f8d79edf1d5.zip
Remove media add a wait message
-rw-r--r--lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm b/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm
index d0475b1..ef25fb3 100644
--- a/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm
+++ b/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm
@@ -611,15 +611,14 @@ sub remove_callback {
yesno => 1, scroll => 1,
) or return 0;
- # TODO dialog waiting if needed
- # my $wait = wait_msg(N("Please wait, removing medium..."));
+ my $wait = wait_msg(N("Please wait, removing medium..."));
foreach my $row (reverse(@rows)) {
$something_changed = 1;
urpm::media::remove_media($urpm, [ $urpm->{media}[$row] ]);
urpm::media::write_urpmi_cfg($urpm);
- # undef $wait
- # remove_wait_msg($wait);
}
+ remove_wait_msg($wait);
+
return 1;
}