Renew the flush timeout. (#354043, Nelson Benitez)

2006-09-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
	the flush timeout.  (#354043, Nelson Benitez)
This commit is contained in:
Matthias Clasen 2006-09-10 05:31:26 +00:00 committed by Matthias Clasen
parent c08868f660
commit 77cdc290b9
2 changed files with 14 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2006-09-10 Matthias Clasen <mclasen@redhat.com> 2006-09-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
the flush timeout. (#354043, Nelson Benitez)
* gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error): * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
Improve wording. String change! (#355126, David Lodge) Improve wording. String change! (#355126, David Lodge)

View File

@ -13853,6 +13853,17 @@ gtk_tree_view_search_scroll_event (GtkWidget *widget,
retval = TRUE; retval = TRUE;
} }
/* renew the flush timeout */
if (retval && tree_view->priv->typeselect_flush_timeout
&& !tree_view->priv->search_custom_entry_set)
{
g_source_remove (tree_view->priv->typeselect_flush_timeout);
tree_view->priv->typeselect_flush_timeout =
g_timeout_add (GTK_TREE_VIEW_SEARCH_DIALOG_TIMEOUT,
(GSourceFunc) gtk_tree_view_search_entry_flush_timeout,
tree_view);
}
return retval; return retval;
} }