open-with-widget: don't forget to set the search column

Otherwise find-as-you-type won't work at all.
This commit is contained in:
Cosimo Cecchi 2010-11-19 13:08:20 +01:00
parent 4becd25bf5
commit 86a8f99806

View File

@ -681,6 +681,8 @@ gtk_open_with_widget_add_items (GtkOpenWithWidget *self)
COLUMN_NAME,
gtk_open_with_sort_func,
self, NULL);
gtk_tree_view_set_search_column (GTK_TREE_VIEW (self->priv->program_list),
COLUMN_NAME);
gtk_tree_view_set_search_equal_func (GTK_TREE_VIEW (self->priv->program_list),
gtk_open_with_search_equal_func,
NULL, NULL);