aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-06-27 12:53:43 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-06-27 12:53:43 +0000
commit43fc2c65bfa51f0ce7b4eb553dd562de84e33547 (patch)
treee6fadef57d9f53cbc32bc974f7ef2636bae4402c
parente0121c96eac93fd2e5b66cdb08654a041fc34bca (diff)
downloadrpmdrake-43fc2c65bfa51f0ce7b4eb553dd562de84e33547.tar
rpmdrake-43fc2c65bfa51f0ce7b4eb553dd562de84e33547.tar.gz
rpmdrake-43fc2c65bfa51f0ce7b4eb553dd562de84e33547.tar.bz2
rpmdrake-43fc2c65bfa51f0ce7b4eb553dd562de84e33547.tar.xz
rpmdrake-43fc2c65bfa51f0ce7b4eb553dd562de84e33547.zip
scroll to the search results
-rwxr-xr-xrpmdrake1
-rw-r--r--rpmdrake.spec1
2 files changed, 2 insertions, 0 deletions
diff --git a/rpmdrake b/rpmdrake
index 23d89e06..ef7ec464 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -331,6 +331,7 @@ sub do_search($$$$$$$) {
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);
$path->free; $last_iter->free;
} else {
$options->{add_nodes}->([ '', $results_none, { nochild => 1 } ]);
diff --git a/rpmdrake.spec b/rpmdrake.spec
index a88688e3..7acd895b 100644
--- a/rpmdrake.spec
+++ b/rpmdrake.spec
@@ -107,6 +107,7 @@ rm -rf $RPM_BUILD_ROOT
drakxtools > 9.2-0.7mdk to work properly though)
- split translation of groups to ease i18n job
- fix some missing translations for compssUsers ("Mandrake Choices")
+- scroll to the search results
* Fri Jun 6 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 2.1-23mdk
- rpmdrake: at install time, when some local files are impossible