aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-08-23 09:12:24 +0000
committerThierry Vignaud <tv@mandriva.org>2006-08-23 09:12:24 +0000
commit7a4f696101b67a7e4a23aa0ada1a74d45079f961 (patch)
tree7efa52fb3c96722069639e47ef7243589a757a38
parent28c17748e12d90613a80f56a879336715c7f440a (diff)
downloadrpmdrake-7a4f696101b67a7e4a23aa0ada1a74d45079f961.tar
rpmdrake-7a4f696101b67a7e4a23aa0ada1a74d45079f961.tar.gz
rpmdrake-7a4f696101b67a7e4a23aa0ada1a74d45079f961.tar.bz2
rpmdrake-7a4f696101b67a7e4a23aa0ada1a74d45079f961.tar.xz
rpmdrake-7a4f696101b67a7e4a23aa0ada1a74d45079f961.zip
(run_treeview_dialog) managing "row_expanded" signal is no more needed
-rwxr-xr-xrpmdrake23
1 files changed, 0 insertions, 23 deletions
diff --git a/rpmdrake b/rpmdrake
index 672163ef..876ad8bf 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -988,29 +988,6 @@ or you already installed all of them."));
}
$options->{add_nodes}->(@{$elems{$group}});
});
- $tree->signal_connect(
- row_expanded => sub {
- my ($tree, $iter, $path) = @_;
- #- hackish: if first child has '' as name, and if we're not listing by update
- # 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 (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)}}) }
- );
- } else {
- if ($tree_model->iter_n_children($iter) > 500) {
- #- populating large groups is slow
- $cursor_to_restore = 1;
- gtkset_mousecursor_wait($tree->window);
- }
- }
- $tree->expand_row($path, 0);
- },
- );
$options->{state}{splited} = 1;
#$options->{state}{flat} = 1;