aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-03-21 07:28:11 +0000
committerThierry Vignaud <tv@mageia.org>2013-03-21 07:28:11 +0000
commit4942c7c5e554a4e7d7eab1e4e4009f40cfb90fc9 (patch)
treee81ed5e80d2129c211a738e5eacb974fdc949d60
parent2140294fb618d796f835cf4b4df6773980882800 (diff)
downloadrpmdrake-4942c7c5e554a4e7d7eab1e4e4009f40cfb90fc9.tar
rpmdrake-4942c7c5e554a4e7d7eab1e4e4009f40cfb90fc9.tar.gz
rpmdrake-4942c7c5e554a4e7d7eab1e4e4009f40cfb90fc9.tar.bz2
rpmdrake-4942c7c5e554a4e7d7eab1e4e4009f40cfb90fc9.tar.xz
rpmdrake-4942c7c5e554a4e7d7eab1e4e4009f40cfb90fc9.zip
remove old callback now that we have erasure progress
-rw-r--r--Rpmdrake/pkg.pm11
1 files changed, 0 insertions, 11 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 472e55c7..a2742b21 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -935,17 +935,6 @@ sub perform_removal {
urpm::orphans::unrequested_orphans_after_remove($urpm, \@toremove)
or $may_be_orphans = 0;
- my $progress = -1;
- local $urpm->{log} = sub {
- my $str = $_[0];
- print $str;
- $progress++;
- return if $progress <= 0; # skip first "creating transaction..." message
- $gurpm->label($str); # display "removing package %s"
- $gurpm->progress(min(0.99, scalar($progress/@toremove)));
- gtkflush();
- };
-
my @results;
slow_func_statusbar(
N("Please wait, removing packages..."),