Mercurial > pidgin
changeset 28507:f769367cccd0
Allow printable chars when searching the tree
author | Richard Nelson <wabz@pidgin.im> |
---|---|
date | Thu, 05 Nov 2009 02:50:48 +0000 |
parents | 30f8f2105740 |
children | 281bd8a973d8 |
files | finch/libgnt/gnttree.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)