pidgin: 22210e3f: Pressing arrow keys should reset the sea...
sadrul at pidgin.im
sadrul at pidgin.im
Sun May 18 16:40:46 EDT 2008
-----------------------------------------------------------------
Revision: 22210e3f8a7bb24230b23ad7e83a49903bbe9d60
Ancestor: e928140a19f323a6a2e917a252a0ca9428a60b5c
Author: sadrul at pidgin.im
Date: 2008-05-18T20:00:26
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/22210e3f8a7bb24230b23ad7e83a49903bbe9d60
Modified files:
finch/libgnt/gnttree.c
ChangeLog:
Pressing arrow keys should reset the search timer.
-------------- next part --------------
============================================================
--- finch/libgnt/gnttree.c 543c598fe75014100e6540620ed6301ad84c0c17
+++ finch/libgnt/gnttree.c da9097345382ec514a9eed6ceb2a6a98f95601e2
@@ -812,11 +812,11 @@ gnt_tree_key_pressed(GntWidget *widget,
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 */
More information about the Commits
mailing list