chiark / gitweb /
Suppress GTK's built-in (in this case nonfunctional) typeahead find
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 14 Jun 2008 14:53:24 +0000 (15:53 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 14 Jun 2008 14:53:24 +0000 (15:53 +0100)
disobedience/choose.c

index 8243645e9b094be315e0cd7102d33886a5c13205..d25b3e7d4d8e6bbd93fc8f9b3f7a4f72dc6bb58f 100644 (file)
@@ -482,6 +482,10 @@ GtkWidget *choose_widget(void) {
   /* Create the view */
   choose_view = gtk_tree_view_new_with_model(GTK_TREE_MODEL(choose_store));
   gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(choose_view), TRUE);
+  /* Suppress built-in typeahead find, we do our own search support.
+   * TODO: ^F still brings up the native search box
+   */
+  gtk_tree_view_set_enable_search(GTK_TREE_VIEW(choose_view), FALSE);
 
   /* Create cell renderers and columns */
   /* TODO use a table */