aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xrpmdrake3
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 3a84ba8b..16b85a85 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- rpmdrake:
o always create a search category in tree (#29164)
+ o open the search results category once searching is done
Version 4.10 - 24 June 2008, Thierry Vignaud
diff --git a/rpmdrake b/rpmdrake
index 36d41f03..14901dd5 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -205,6 +205,9 @@ sub do_search($$$$$$$) {
statusbar_msg($results_none, 1);
gtkset_mousecursor_normal($::w->{rwindow}->window);
}
+ my $tree_selection = $tree->get_selection;
+ $tree_selection->select_path($tree_model->get_path($iter));
+ $tree_selection->signal_emit('changed');
}
sub run_treeview_dialog {