aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-12 09:39:53 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-12 09:39:53 +0000
commit6392a8ef77864393ec72a4d7fb7eb2ef8aa62184 (patch)
treed98a64a2185531689b19da5d2053efaa3575ff7c
parent31cb4bbbd6540bc267e0ca3a430dc0b930a01ac8 (diff)
downloadrpmdrake-6392a8ef77864393ec72a4d7fb7eb2ef8aa62184.tar
rpmdrake-6392a8ef77864393ec72a4d7fb7eb2ef8aa62184.tar.gz
rpmdrake-6392a8ef77864393ec72a4d7fb7eb2ef8aa62184.tar.bz2
rpmdrake-6392a8ef77864393ec72a4d7fb7eb2ef8aa62184.tar.xz
rpmdrake-6392a8ef77864393ec72a4d7fb7eb2ef8aa62184.zip
(do_search) fix only flushing X11 queue every 10 package
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index c35795aa..b0893dc1 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -102,7 +102,7 @@ sub do_search($$$$$$$) {
my $update_search_pb = sub {
$progresscount++;
- if ($progresscount % 10) {
+ if (!($progresscount % 10)) {
$progresscount <= $total_size and $searchprogress->set_fraction($progresscount/$total_size);
$searchw->flush ; # refresh and handle clicks
}