aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-08-23 09:23:23 +0000
committerThierry Vignaud <tv@mandriva.org>2006-08-23 09:23:23 +0000
commitae7431b15c27a2436273c37c7a84854451e4927b (patch)
treef682dc451a6d12da21b92f6319250bab5c80357e
parent235b28108ffc4a87b041dddd47a39b382b6a9593 (diff)
downloadrpmdrake-ae7431b15c27a2436273c37c7a84854451e4927b.tar
rpmdrake-ae7431b15c27a2436273c37c7a84854451e4927b.tar.gz
rpmdrake-ae7431b15c27a2436273c37c7a84854451e4927b.tar.bz2
rpmdrake-ae7431b15c27a2436273c37c7a84854451e4927b.tar.xz
rpmdrake-ae7431b15c27a2436273c37c7a84854451e4927b.zip
filling list of packages is slow when there's a lot of package; let's warn the user
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 8b075270..7d7dd73d 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1007,7 +1007,7 @@ or you already installed all of them."));
while ($parent = $model->iter_parent($parent)) {
$group = join('|', $model->get($parent, 0), $group);
}
- $options->{add_nodes}->(@{$elems{$group}});
+ slow_func($tree->window, sub { $options->{add_nodes}->(@{$elems{$group}}) });
});
$options->{state}{splited} = 1;