From: Kristian Rietveld Date: Fri, 16 Feb 2007 21:24:54 +0000 (+0000) Subject: send a focus-in event to the tree view after hiding the search dialog. X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~24^2~34346 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=41aff18d7fdc2717e80d6135026950af00536a99;p=gtk4.git send a focus-in event to the tree view after hiding the search dialog. 2007-02-16 Kristian Rietveld * 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 --- diff --git a/ChangeLog b/ChangeLog index 0347e20328..bd9ba208b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-02-16 Kristian Rietveld + + * 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 * tests/testtooltips.c (query_tooltip_text_view_cb): also handle diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index d1562e4c23..ce4221115a 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -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