# HG changeset patch # User Richard Nelson # Date 1257389448 0 # Node ID f769367cccd07f7969170415f93708fad8ad6b40 # Parent 30f8f2105740dd0d2a37cb9140cf877f5802bb98 Allow printable chars when searching the tree diff -r 30f8f2105740 -r f769367cccd0 finch/libgnt/gnttree.c --- a/finch/libgnt/gnttree.c Wed Nov 04 23:39:08 2009 +0000 +++ b/finch/libgnt/gnttree.c Thu Nov 05 02:50:48 2009 +0000 @@ -815,7 +815,7 @@ gnt_widget_activate(widget); } else if (tree->priv->search) { gboolean changed = TRUE; - if (isalnum(*text)) { + if (g_unichar_isprint(*text)) { tree->priv->search = g_string_append_c(tree->priv->search, *text); } else if (g_utf8_collate(text, GNT_KEY_BACKSPACE) == 0) { if (tree->priv->search->len)