changeset 14871:3378450077e7

[gaim-migrate @ 17640] C-b and C-f should move the cursor back and forward, respectively, in gntentry committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Tue, 31 Oct 2006 21:36:27 +0000
parents 9f088b5844e3
children a73b2b332ec2
files console/libgnt/gntentry.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/console/libgnt/gntentry.c	Tue Oct 31 20:47:51 2006 +0000
+++ b/console/libgnt/gntentry.c	Tue Oct 31 21:36:27 2006 +0000
@@ -573,8 +573,12 @@
 				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_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_class_register_action(parent_class, "suggest-show", suggest_show,
 				"\t", NULL);
 	gnt_widget_class_register_action(parent_class, "suggest-next", suggest_next,