]> Pileus Git - ~andy/gtk/commitdiff
open-with-widget: don't forget to set the search column
authorCosimo Cecchi <cosimoc@gnome.org>
Fri, 19 Nov 2010 12:08:20 +0000 (13:08 +0100)
committerCosimo Cecchi <cosimoc@gnome.org>
Tue, 23 Nov 2010 15:51:40 +0000 (16:51 +0100)
Otherwise find-as-you-type won't work at all.

gtk/gtkopenwithwidget.c

index 15ab1b90dd598f443ad17d15c893cda2a053c839..f93f71129ad6eda9e6bd22ca8d290375f24b50a7 100644 (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);