summaryrefslogtreecommitdiffstats
path: root/gurpm/RPMProgressDialog.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-03-16 09:03:27 +0000
committerThierry Vignaud <tv@mageia.org>2013-03-16 09:03:27 +0000
commitf1b2d4b2f90dd21e90274be2deff806cdfa9df9d (patch)
tree4f3144b7148ab83b90bc96f7c18ba8bb8fcd02a1 /gurpm/RPMProgressDialog.pm
parente956f0b70d62cf152558311c0af4adff44ffa726 (diff)
downloadurpmi-f1b2d4b2f90dd21e90274be2deff806cdfa9df9d.tar
urpmi-f1b2d4b2f90dd21e90274be2deff806cdfa9df9d.tar.gz
urpmi-f1b2d4b2f90dd21e90274be2deff806cdfa9df9d.tar.bz2
urpmi-f1b2d4b2f90dd21e90274be2deff806cdfa9df9d.tar.xz
urpmi-f1b2d4b2f90dd21e90274be2deff806cdfa9df9d.zip
(init_progressbar) reset values
(needed for rpmdrake which can select some packages, install them, select other ones, ...)
Diffstat (limited to 'gurpm/RPMProgressDialog.pm')
-rw-r--r--gurpm/RPMProgressDialog.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gurpm/RPMProgressDialog.pm b/gurpm/RPMProgressDialog.pm
index 7c22edad..a205f824 100644
--- a/gurpm/RPMProgressDialog.pm
+++ b/gurpm/RPMProgressDialog.pm
@@ -159,6 +159,7 @@ sub init_progressbar {
$progressbar->set_size_request($progressbar_size, -1);
$vbox->pack_start($progressbar, 0, 0, 0);
$w->{progressbar} = $progressbar;
+ $progress_nb = $download_nb = 0;
$w->change_widget($vbox);
}