From: Richard Kettlewell Date: Sat, 14 Jun 2008 14:53:24 +0000 (+0100) Subject: Suppress GTK's built-in (in this case nonfunctional) typeahead find X-Git-Tag: 4.1~15^2~16 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/26108f9563e1784e532e1a34c6b7e0e1dc7c723d Suppress GTK's built-in (in this case nonfunctional) typeahead find --- diff --git a/disobedience/choose.c b/disobedience/choose.c index 8243645..d25b3e7 100644 --- a/disobedience/choose.c +++ b/disobedience/choose.c @@ -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 */