From 29e40c6dcfa6d2713fc53e54bc763c13477cb82e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 26 Mar 2007 11:13:44 +0000 Subject: (perform_removal) display which package is beging removed --- Rpmdrake/pkg.pm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Rpmdrake') diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 5f1b1eeb..1614bac9 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -803,6 +803,14 @@ sub perform_removal { Rpmdrake::gurpm::init(1 ? N("Please wait") : N("Please wait, removing packages..."), N("Initializing..."), transient => $::main_window); my $_a = before_leaving { Rpmdrake::gurpm::end() }; + my $logger = $urpm->{log}; + local $urpm->{log} = sub { + my $str = $_[0]; + print $str; + Rpmdrake::gurpm::label($str); # display "removing package %s" + gtkflush(); + }; + my @results; slow_func_statusbar( N("Please wait, removing packages..."), -- cgit v1.2.1