aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-07-01 16:09:14 +0000
committerThierry Vignaud <tv@mandriva.org>2008-07-01 16:09:14 +0000
commit051f54dced2c5671cd71293d64150d67d728b374 (patch)
treeada14bd7a349de2bd7ba18e3a280dfbeb265e7ed
parent5f04097e8f53d3f756271d8e663137d4a5513a23 (diff)
downloadrpmdrake-051f54dced2c5671cd71293d64150d67d728b374.tar
rpmdrake-051f54dced2c5671cd71293d64150d67d728b374.tar.gz
rpmdrake-051f54dced2c5671cd71293d64150d67d728b374.tar.bz2
rpmdrake-051f54dced2c5671cd71293d64150d67d728b374.tar.xz
rpmdrake-051f54dced2c5671cd71293d64150d67d728b374.zip
(do_search) remove dead code (no more useless after latest commit)
-rwxr-xr-xrpmdrake5
1 files changed, 0 insertions, 5 deletions
diff --git a/rpmdrake b/rpmdrake
index 14901dd5..6f46a0e2 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -195,11 +195,6 @@ sub do_search($$$$$$$) {
? '|' . ($pkgs->{$_}{selected} ? N("Selected") : N("Not selected"))
: ''))
] } sort { uc($a) cmp uc($b) } @search_results);
- if (my $last_iter = $tree_model->iter_nth_child(undef, $tree_model->iter_n_children(undef) - 1)) {
- my $path = $tree_model->get_path($last_iter);
- $tree->expand_row($path, 0);
- $tree->scroll_to_cell($path, undef, 1, 0.5, 0);
- }
} else {
$iter = $options->{add_parent}->($results_none);
statusbar_msg($results_none, 1);