Mercurial > pidgin.yaz
diff finch/libgnt/gnttree.c @ 22999:6843c06f5c6a
Pressing arrow keys should reset the search timer.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 18 May 2008 20:00:26 +0000 |
parents | 0ba0f2804299 |
children | 6d4e4a5963f3 |
line wrap: on
line diff
--- a/finch/libgnt/gnttree.c Sun May 18 19:59:27 2008 +0000 +++ b/finch/libgnt/gnttree.c Sun May 18 20:00:26 2008 +0000 @@ -812,11 +812,11 @@ changed = FALSE; if (changed) { redraw_tree(tree); - g_source_remove(tree->priv->search_timeout); - tree->priv->search_timeout = g_timeout_add(SEARCH_TIMEOUT, search_timeout, tree); } else { gnt_bindable_perform_action_key(GNT_BINDABLE(tree), text); } + g_source_remove(tree->priv->search_timeout); + tree->priv->search_timeout = g_timeout_add(SEARCH_TIMEOUT, search_timeout, tree); return TRUE; } else if (text[0] == ' ' && text[1] == 0) { /* Space pressed */