aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-07-09 05:46:52 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-07-09 05:46:52 +0000
commited61ec0d70e80070ae1a65a3d786a97673132b76 (patch)
tree6d9435bb33ebe7b8df175ce6168776f6affa1b41
parenteaf507d4e832a09d432b93b96ad05c29764ff9dc (diff)
downloadrpmdrake-ed61ec0d70e80070ae1a65a3d786a97673132b76.tar
rpmdrake-ed61ec0d70e80070ae1a65a3d786a97673132b76.tar.gz
rpmdrake-ed61ec0d70e80070ae1a65a3d786a97673132b76.tar.bz2
rpmdrake-ed61ec0d70e80070ae1a65a3d786a97673132b76.tar.xz
rpmdrake-ed61ec0d70e80070ae1a65a3d786a97673132b76.zip
temporary leave empty branches in the tree so that we can consult again an
already viewed category
-rwxr-xr-xrpmdrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index da7e776f..831f7455 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -980,8 +980,8 @@ or you already installed all of them."));
# availability, then we need to expand on the fly. (by update availability,
# selecting all packages will be too slow and expose too much choice conflicts)
my $child = $tree_model->iter_children($iter);
- if ($options->{tree_mode} ne 'by_presence' && $tree_model->get($child, 0) eq '') {
- $tree_model->remove($child);
+ if (1 || $options->{tree_mode} ne 'by_presence' && $tree_model->get($child, 0) eq '') {
+ #$tree_model->remove($child);
slow_func(
$tree->window,
sub { $options->{add_nodes}->(@{$elems{$tree_model->get($iter, 0)}}) }