Commit a6755f70 authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

only start typeahead search if tree_view has focus (and not one of the

2007-09-10  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_key_press): only start
	typeahead search if tree_view has focus (and not one of the column
	buttons).


svn path=/trunk/; revision=18779
parent 24e35a1d
2007-09-10 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreeview.c (gtk_tree_view_key_press): only start
typeahead search if tree_view has focus (and not one of the column
buttons).
2007-09-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkdnd.c (gtk_drag_source_info_destroy): Remove
......
......@@ -5340,7 +5340,8 @@ gtk_tree_view_key_press (GtkWidget *widget,
/* We pass the event to the search_entry. If its text changes, then we start
* the typeahead find capabilities. */
if (tree_view->priv->enable_search
if (GTK_WIDGET_HAS_FOCUS (tree_view)
&& tree_view->priv->enable_search
&& !tree_view->priv->search_custom_entry_set)
{
GdkEvent *new_event;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment