Mercurial > pidgin.yaz
diff finch/libgnt/gnttree.c @ 22289:0ba0f2804299
'\n' (ctrl-j) should behave similar to '\r' (ctrl-m). Fixes #4833.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 13 Feb 2008 05:57:54 +0000 |
parents | 782df0fd9e5e |
children | 6843c06f5c6a |
line wrap: on
line diff
--- a/finch/libgnt/gnttree.c Tue Feb 12 04:03:30 2008 +0000 +++ b/finch/libgnt/gnttree.c Wed Feb 13 05:57:54 2008 +0000 @@ -798,7 +798,7 @@ GntTree *tree = GNT_TREE(widget); GntTreeRow *old = tree->current; - if (text[0] == '\r') { + if (text[0] == '\r' || text[0] == '\n') { end_search(tree); gnt_widget_activate(widget); } else if (tree->priv->search) {