send a focus-in event to the tree view after hiding the search dialog.

2007-02-16  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
	a focus-in event to the tree view after hiding the search dialog.
	(#356515, Rich Burridge, Peter Parente).


svn path=/trunk/; revision=17314
This commit is contained in:
Kristian Rietveld
2007-02-16 21:24:54 +00:00
committed by Kristian Rietveld
parent 31e8b394cc
commit 41aff18d7f
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-02-16 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
a focus-in event to the tree view after hiding the search dialog.
(#356515, Rich Burridge, Peter Parente).
2007-02-16 Kristian Rietveld <kris@imendio.com>
* tests/testtooltips.c (query_tooltip_text_view_cb): also handle

View File

@ -13725,6 +13725,7 @@ gtk_tree_view_search_dialog_hide (GtkWidget *search_dialog,
send_focus_change (GTK_WIDGET (tree_view->priv->search_entry), FALSE);
gtk_widget_hide (search_dialog);
gtk_entry_set_text (GTK_ENTRY (tree_view->priv->search_entry), "");
send_focus_change (GTK_WIDGET (tree_view), TRUE);
}
static void