diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-06 11:24:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-06 11:24:11 +0000 |
commit | 6ab84254b361ba64afb4b1a7f0b37a58115ad081 (patch) | |
tree | abb9a92ce8aa1f4027dc0e83297ddc9f636156e7 /Rpmdrake/pkg.pm | |
parent | 982d60923fd1d3f2771933ab6399ceb6c43528de (diff) | |
download | rpmdrake-6ab84254b361ba64afb4b1a7f0b37a58115ad081.tar rpmdrake-6ab84254b361ba64afb4b1a7f0b37a58115ad081.tar.gz rpmdrake-6ab84254b361ba64afb4b1a7f0b37a58115ad081.tar.bz2 rpmdrake-6ab84254b361ba64afb4b1a7f0b37a58115ad081.tar.xz rpmdrake-6ab84254b361ba64afb4b1a7f0b37a58115ad081.zip |
(perform_removal) display a wait message while removing packages
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-x | Rpmdrake/pkg.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index e1db6e97..fa02a1d7 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -790,6 +790,8 @@ sub perform_removal { my ($urpm, $pkgs) = @_; my @toremove = map { if_($pkgs->{$_}{selected}, $pkgs->{$_}{urpm_name}) } keys %$pkgs; return if !@toremove; + Rpmdrake::gurpm::init(1 ? N("Please wait") : N("Please wait, removing packages..."), N("Initializing..."), transient => $::w->{real_window}); + my $_a = before_leaving { Rpmdrake::gurpm::end() }; my @results; slow_func_statusbar( |