aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-07-01 16:08:42 +0000
committerThierry Vignaud <tv@mandriva.org>2008-07-01 16:08:42 +0000
commit5f04097e8f53d3f756271d8e663137d4a5513a23 (patch)
tree7a15b6023cec42e11e505029bc5bd8122e575e6d
parenteba4d693344a8e161bbffeb372bdb3bae3cc767d (diff)
downloadrpmdrake-5f04097e8f53d3f756271d8e663137d4a5513a23.tar
rpmdrake-5f04097e8f53d3f756271d8e663137d4a5513a23.tar.gz
rpmdrake-5f04097e8f53d3f756271d8e663137d4a5513a23.tar.bz2
rpmdrake-5f04097e8f53d3f756271d8e663137d4a5513a23.tar.xz
rpmdrake-5f04097e8f53d3f756271d8e663137d4a5513a23.zip
(do_search) open the search results category once searching is done
-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 {