diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-08-23 09:12:24 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-08-23 09:12:24 +0000 |
commit | 7a4f696101b67a7e4a23aa0ada1a74d45079f961 (patch) | |
tree | 7efa52fb3c96722069639e47ef7243589a757a38 | |
parent | 28c17748e12d90613a80f56a879336715c7f440a (diff) | |
download | rpmdrake-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-x | rpmdrake | 23 |
1 files changed, 0 insertions, 23 deletions
@@ -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; |