Mercurial > pidgin
diff finch/libgnt/gntbutton.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 | ebb46dea479a |
children | 0119f73a76da |
line wrap: on
line diff
--- a/finch/libgnt/gntbutton.c Tue Feb 12 04:03:30 2008 +0000 +++ b/finch/libgnt/gntbutton.c Wed Feb 13 05:57:54 2008 +0000 @@ -79,7 +79,8 @@ static gboolean gnt_button_key_pressed(GntWidget *widget, const char *key) { - if (strcmp(key, GNT_KEY_ENTER) == 0) + if (strcmp(key, GNT_KEY_ENTER) == 0 || + strcmp(key, SAFE(cursor_down)) == 0) { gnt_widget_activate(widget); return TRUE;