aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-12 09:40:01 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-12 09:40:01 +0000
commit833422d0bd27c4be0ecf8de0020a05f3c68e8985 (patch)
tree2b3f9d29712bfce42e797ae2fbcb1577725aa00c
parent6392a8ef77864393ec72a4d7fb7eb2ef8aa62184 (diff)
downloadrpmdrake-833422d0bd27c4be0ecf8de0020a05f3c68e8985.tar
rpmdrake-833422d0bd27c4be0ecf8de0020a05f3c68e8985.tar.gz
rpmdrake-833422d0bd27c4be0ecf8de0020a05f3c68e8985.tar.bz2
rpmdrake-833422d0bd27c4be0ecf8de0020a05f3c68e8985.tar.xz
rpmdrake-833422d0bd27c4be0ecf8de0020a05f3c68e8985.zip
(do_search) only flush X11 queue every 100 packages (seems enough on
medium machines)
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index b0893dc1..b89b79b0 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -102,7 +102,7 @@ sub do_search($$$$$$$) {
my $update_search_pb = sub {
$progresscount++;
- if (!($progresscount % 10)) {
+ if (!($progresscount % 100)) {
$progresscount <= $total_size and $searchprogress->set_fraction($progresscount/$total_size);
$searchw->flush ; # refresh and handle clicks
}