[gtk+/open-with-dialog] open-with-widget: don't forget to set the search column



commit a14a9fa730b6691c751b00560f64b26d096a73bf
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Nov 19 13:08:20 2010 +0100

    open-with-widget: don't forget to set the search column
    
    Otherwise find-as-you-type won't work at all.

 gtk/gtkopenwithwidget.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkopenwithwidget.c b/gtk/gtkopenwithwidget.c
index 15ab1b9..f93f711 100644
--- a/gtk/gtkopenwithwidget.c
+++ b/gtk/gtkopenwithwidget.c
@@ -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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]