Mercurial > pidgin.yaz
changeset 14872:a73b2b332ec2
[gaim-migrate @ 17641]
Registering the same action causes crashes. Register action once with a default
binding, and then register other bindings for that action if necessary.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 31 Oct 2006 23:01:39 +0000 |
parents | 3378450077e7 |
children | 3a23706f9f4b |
files | console/libgnt/gntentry.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/console/libgnt/gntentry.c Tue Oct 31 21:36:27 2006 +0000 +++ b/console/libgnt/gntentry.c Tue Oct 31 23:01:39 2006 +0000 @@ -573,12 +573,10 @@ NULL, NULL); gnt_widget_class_register_action(parent_class, "cursor-prev", move_back, "\033" GNT_KEY_LEFT, NULL); - gnt_widget_class_register_action(parent_class, "cursor-prev", move_back, - GNT_KEY_CTRL_B, NULL); + gnt_widget_register_binding(parent_class, "cursor-prev", GNT_KEY_CTRL_B, NULL); gnt_widget_class_register_action(parent_class, "cursor-next", move_forward, "\033" GNT_KEY_RIGHT, NULL); - gnt_widget_class_register_action(parent_class, "cursor-next", move_forward, - GNT_KEY_CTRL_F, NULL); + gnt_widget_register_binding(parent_class, "cursor-next", GNT_KEY_CTRL_F, NULL); gnt_widget_class_register_action(parent_class, "suggest-show", suggest_show, "\t", NULL); gnt_widget_class_register_action(parent_class, "suggest-next", suggest_next,