aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-12-09 16:26:17 +0000
committerThierry Vignaud <tv@mandriva.org>2008-12-09 16:26:17 +0000
commit001f9e04f7013376f5f55bac57a2d3d9a1c0962e (patch)
tree83b70414686c0e91d2f2e72c3cf89f4862631773
parent094bdd57550a66cd74fe2483e0f470153f743119 (diff)
downloadrpmdrake-001f9e04f7013376f5f55bac57a2d3d9a1c0962e.tar
rpmdrake-001f9e04f7013376f5f55bac57a2d3d9a1c0962e.tar.gz
rpmdrake-001f9e04f7013376f5f55bac57a2d3d9a1c0962e.tar.bz2
rpmdrake-001f9e04f7013376f5f55bac57a2d3d9a1c0962e.tar.xz
rpmdrake-001f9e04f7013376f5f55bac57a2d3d9a1c0962e.zip
(do_search) scroll group list to search category
-rw-r--r--NEWS4
-rwxr-xr-xrpmdrake1
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 4cea786d..b492f4f9 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,7 @@
- rpmdrake:
- o fix a rare crash on searching (#46225)
+ o searching:
+ * fix a rare crash on searching (#46225)
+ * scroll group list to search category
o only look at name, not at full name (n-e-v-r) when performing
search in names (#45410)
o update GUI package list
diff --git a/rpmdrake b/rpmdrake
index 841ede4e..9fa48ee4 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -205,6 +205,7 @@ sub do_search($$$$$$$) {
my $tree_selection = $tree->get_selection;
if (my $path = $tree_model->get_path($iter)) {
$tree_selection->select_path($path);
+ $tree->scroll_to_cell($path, undef, 1, 0.5, 0);
$tree_selection->signal_emit('changed');
}
}